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)