mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
simplify ParseRawRules()
This commit is contained in:
parent
b5f4200ca5
commit
ba771e5aea
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ private static IEnumerable<string> ParseRawRules(string content)
|
|||
var rawRules = content.Split(new[] {"\r\n", "\r", "\n"}, StringSplitOptions.RemoveEmptyEntries);
|
||||
for (var i = 0; i < rawRules.Length; i++)
|
||||
rawRules[i] = rawRules[i].LintRawRule();
|
||||
return new HashSet<string>(rawRules.Where(r => r != null));
|
||||
return rawRules.Where(r => r != null);
|
||||
}
|
||||
|
||||
private IEnumerable<SnapshotDeBatch> CreateSnapshotBatches(IEnumerable<string> rawRules) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue