enhance drop comments from rules

This commit is contained in:
Collin M. Barrett 2018-02-09 15:29:55 -06:00
parent 9de64fcd85
commit 9cd7dcd181

View file

@ -26,7 +26,7 @@ private static string DropIfEmpty(this string rule)
private static string DropIfComment(this string rule)
{
return rule.StartsWith(@"!") && !rule.StartsWith(@"!#") ? null : rule;
return rule.StartsWith(@"!") && !rule.StartsWith(@"!#") || rule.StartsWith(@"!##") ? null : rule;
}
private static string DropIfTooLong(this string rule)