temp send emails for long rules

This commit is contained in:
Collin Barrett 2018-08-22 18:07:48 -05:00
parent 271c306272
commit 4607ae6e91

View file

@ -114,7 +114,11 @@ private async Task<IEnumerable<string>> GetLines()
{
string line;
while ((line = await streamReader.ReadLineAsync()) != null)
{
lines.AddIfNotNullOrEmpty(line.LintLine());
if (line.Length >= 191)
await emailService.SendEmailAsync("Long Line Possibly Truncated", line);
}
}
}