From afae5d7f85d23fd0a2295113e431a83afae25b27 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 30 Sep 2019 17:14:11 +0200 Subject: [PATCH] apparently readline expects a 'close' event listener, not 'end' --- storage/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/file.js b/storage/file.js index 8ccfae079..0f97527ca 100644 --- a/storage/file.js +++ b/storage/file.js @@ -95,7 +95,7 @@ var getMetadataAtPath = function (Env, path, _cb) { return void cb("INVALID_METADATA"); } }) - .on('end', cb) + .on('close', cb) .on('error', cb); };