Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs.move across windows drives fails #109

Closed
nicks opened this issue Jan 28, 2015 · 2 comments
Closed

fs.move across windows drives fails #109

nicks opened this issue Jan 28, 2015 · 2 comments

Comments

@nicks
Copy link
Contributor

nicks commented Jan 28, 2015

var x = 'C:\\test.txt'
var y = 'D:\\test.txt'
require('fs-extra').move(x, y, function (err) {
  throw err
})

emits the following error:

Can't move source into dest if dest is in source.

I believe the detection here is incorrect, and should probably use some other mechanism

@jprichardson
Copy link
Owner

hah, ok, I'm on it.

@jprichardson
Copy link
Owner

Published 0.16.3.

@nicks nicks closed this as completed May 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants