apparently readline expects a 'close' event listener, not 'end'

This commit is contained in:
ansuz 2019-09-30 17:14:11 +02:00
parent 82a0048082
commit 3ccca553bc

View file

@ -95,7 +95,7 @@ var getMetadataAtPath = function (Env, path, _cb) {
return void cb("INVALID_METADATA");
}
})
.on('end', cb)
.on('close', cb)
.on('error', cb);
};