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

When writing out files, create intermediate dirctories if they don't exist, like mkdir -p #27

Closed
mhkeller opened this issue Aug 14, 2015 · 6 comments

Comments

@mhkeller
Copy link
Owner

Could be an argument or a config flag

@mhkeller
Copy link
Owner Author

Could use node-fs which has a pretty good implementation.

@mhkeller mhkeller mentioned this issue Sep 14, 2015
@mhkeller
Copy link
Owner Author

This looks better: https://www.npmjs.com/package/mkdirp

@ebrelsford
Copy link
Collaborator

I've used it and can confirm 👍

@mhkeller
Copy link
Owner Author

is there any downside to making this the default behavior?

On Tue, Sep 15, 2015 at 12:40 AM, Eric Brelsford notifications@github.com
wrote:

I've used it and can confirm [image: 👍]


Reply to this email directly or view it on GitHub
#27 (comment)
.

@mhkeller
mhkeller.com

@ebrelsford
Copy link
Collaborator

Not sure! I feel like it's kind of a failsafe not being the default, as with the mkdir command.

@mhkeller
Copy link
Owner Author

This has been implemented in 1.0.0. See changelog for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants