From 1c32a6a673e890b87be1620cc30cb2ea501f64a6 Mon Sep 17 00:00:00 2001 From: Daniel Schauenberg Date: Sat, 30 Mar 2013 20:28:29 -0400 Subject: [PATCH] use strict comparison for message length --- stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats.js b/stats.js index 64e31a7..1a4690b 100644 --- a/stats.js +++ b/stats.js @@ -163,7 +163,7 @@ config.configFile(process.argv[2], function (config, oldConfig) { } for (var midx in metrics) { - if (metrics[midx].length == 0) { + if (metrics[midx].length === 0) { continue; } if (config.dumpMessages) {