-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Always throw if unable to overwrite #38
Conversation
Maybe more appropriate to say "always throw (or reject) on copy failure" |
node v12.13.0 introduced a breaking change, I'll investigate |
I've added a change to work around the issue (version sniffing! fun!) |
@sindresorhus You may want to comment on nodejs/node#29930 as I don't think I can be very much help |
I think you should wait for |
I'm not sure what's going on here. |
@boneskull It's not clear to me what the status of this PR is? |
I’m not sure what to do with @matteocollina’s feedback. there’s a workaround in this PR, and afaik the PR works, but I’m unsure if I should be changing something else per his feedback |
@mcollina The docs says nothing about having to wait for an |
I've added it just in case though: 6d92d5c |
Reverted that ^. It caused problems on Node.js 12 (I apparently had an older 12 version locally so I didn't detect the problem before pushing). https://travis-ci.org/sindresorhus/cp-file/jobs/654317803?utm_medium=notification&utm_source=email |
This is a breaking change
Fixes #37