Forgot to initialize the whitelist regex cache.

lua-bytecode
Icedream 2014-10-22 19:09:26 +02:00
parent 2ab88b8a24
commit d7844f3df5
1 changed files with 1 additions and 0 deletions

View File

@ -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)));
}
}