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

Use mv module to rename files across devices #628

Merged
merged 1 commit into from
Sep 13, 2014
Merged

Use mv module to rename files across devices #628

merged 1 commit into from
Sep 13, 2014

Conversation

alanshaw
Copy link

I've been getting an EXDEV error when trying to move the tmp file to the destination folder due to /tmp being on a different device to the destination. This PR simply adds the mv module and drops it in place of fs.rename.

@JedWatson
Copy link
Member

Thanks @alanshaw! Haven't seen this error, so glad you've found + fixed it.

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

Successfully merging this pull request may close these issues.

2 participants