From de9f642cccae4644022975799214a30c995b080c Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Tue, 13 Sep 2016 17:15:19 +0200 Subject: [PATCH] typo --- storage/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/file.js b/storage/file.js index 8de76447d..00a565863 100644 --- a/storage/file.js +++ b/storage/file.js @@ -39,7 +39,7 @@ var checkPath = function (path, callback) { } var dirPath = path.replace(/\/[^\/]*$/, '/'); Fs.mkdir(dirPath, function (err) { - if (err && err !== 'EEXIST') { + if (err && err.code !== 'EEXIST') { callback(err); return; }