diff --git a/tools/stat.js b/tools/stat.js index 77c0922..b0d55fb 100644 --- a/tools/stat.js +++ b/tools/stat.js @@ -103,6 +103,8 @@ _(process.argv.slice(2)).filter(function(arg){ lastKey = key; }) .on ("end", function (){ + if (lastKey === null) + return; // add EOF offset offsets[lastKey].push(eofKey);