Forgot to initialize the whitelist regex cache.
parent
2ab88b8a24
commit
d7844f3df5
|
@ -81,6 +81,7 @@ namespace GarrysMod.AddonCreator
|
|||
|
||||
public static IEnumerable<string> FindBlacklistedFiles(IEnumerable<string> files)
|
||||
{
|
||||
ConvertWhitelist();
|
||||
return files.Where(f => RegularExpressions.Any(rx => !rx.IsMatch(f)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue