Skip to content

Commit

Permalink
don't show Bad Line warning for empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Schauenberg committed Mar 30, 2013
1 parent c947f66 commit 2c65034
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ config.configFile(process.argv[2], function (config, oldConfig) {
}

for (var midx in metrics) {
if (metrics[midx].length == 0) {
continue;
}
if (config.dumpMessages) {
l.log(metrics[midx].toString());
}
Expand Down

0 comments on commit 2c65034

Please sign in to comment.