Remove unnecessary blank lines from output

This commit is contained in:
Hackerpilot 2014-05-19 14:48:23 -07:00
parent 88f6d8d7ac
commit 12d6120e10
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ void analyze(File output, string[] fileNames, AnalyzerCheck analyzers, bool stat
f.rawRead(code); f.rawRead(code);
string[] results = analyze(fileName, code, analyzers, staticAnalyze); string[] results = analyze(fileName, code, analyzers, staticAnalyze);
output.writeln(results.join("\n")); if (results.length > 0)
output.writeln(results.join("\n"));
} }
} }