Merge pull request #17 from ethereum/fixRename

fix rename
pull/454/head
yann300 7 years ago committed by GitHub
commit 18f43dba96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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)

Loading…
Cancel
Save