From 9afa1473ce7de052b7326be5d6ec713f186ad50b Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 30 Jan 2018 12:27:12 +0100 Subject: [PATCH] fis rename --- src/services/sharedFolder.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/services/sharedFolder.js b/src/services/sharedFolder.js index 5ad253a736..5f37791438 100644 --- a/src/services/sharedFolder.js +++ b/src/services/sharedFolder.js @@ -59,7 +59,6 @@ module.exports = { var oldpath = utils.absolutePath(args.oldPath, this.sharedFolder) var newpath = utils.absolutePath(args.newPath, this.sharedFolder) if (!isRealPath(oldpath, cb)) return - if (!isRealPath(newpath, cb)) return fs.move(oldpath, newpath, (error, data) => { if (error) console.log(error) cb(error, data)