From 310cf8ea6b883ff001868817206362a2a56c3865 Mon Sep 17 00:00:00 2001 From: zodern Date: Thu, 6 Sep 2018 12:47:38 -0500 Subject: [PATCH] Fix deleting files --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 65cdffe..4d47197 100644 --- a/index.js +++ b/index.js @@ -123,7 +123,7 @@ DiskStore.prototype.del = function (key, options, cb) { return cb(null); } // check for existance of the file - fsp.readFile(metaData.filename, { encoding : 'ascii' }). + fsp.readFile(metaData.filename). then(function(metaExtraContent) { // delete the files if (! metaExtraContent) {