added a line to escape when the file is empty (i think)
This commit is contained in:
parent
39dce5b249
commit
27d25afbdc
|
@ -103,6 +103,8 @@ _(process.argv.slice(2)).filter(function(arg){
|
||||||
lastKey = key;
|
lastKey = key;
|
||||||
})
|
})
|
||||||
.on ("end", function (){
|
.on ("end", function (){
|
||||||
|
if (lastKey === null)
|
||||||
|
return;
|
||||||
|
|
||||||
// add EOF offset
|
// add EOF offset
|
||||||
offsets[lastKey].push(eofKey);
|
offsets[lastKey].push(eofKey);
|
||||||
|
|
Loading…
Reference in New Issue