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

overwrite file with directory #23

Open
milahu opened this issue Mar 12, 2021 · 2 comments
Open

overwrite file with directory #23

milahu opened this issue Mar 12, 2021 · 2 comments

Comments

@milahu
Copy link

milahu commented Mar 12, 2021

overwriting a file with a directory fails even with options.overwrite = true

Error: EEXIST: file already exists, mkdir '/path/to/existing/file'

maybe add options.mkdirForce

@timkendrick
Copy link
Owner

Thanks for reporting!

This should be fixed in v2.0.12 - feel free to reopen this issue if you're still having problems.

@timkendrick
Copy link
Owner

timkendrick commented Jun 27, 2021

Unfortunately I had to revert this fix in v2.0.13 due to #31 - I'm reopening this issue while I sort out a fix. Apologies for the confusion.

@timkendrick timkendrick reopened this Jun 27, 2021
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