We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently using CreateDirectory ("./tmp") throws an error if it already exists.
CreateDirectory ("./tmp")
I'm finding a lot of times I end up with this code in my scripts:
if (!DirectoryExists ("./tmp")) CreateDirectory ("./tmp");
It would be very helpful to have an alias that does this for us:
EnsureDirectoryExists ("./tmp");
The text was updated successfully, but these errors were encountered:
Added EnsureDirectoryExists alias
260ea36
This is for cake-build#821 Simply wraps the `DirectoryExists` and `CreateDirectory` aliases to create a directory if it doesn't already exist.
I'm 'away from compiler' so I can't check, but ideally that should work for multiple levels of missing directories.
Sorry, something went wrong.
This is for cake-build#821
674420b
Simply wraps the DirectoryExists and CreateDirectory aliases to create a directory if it doesn't already exist. This PR supersedes cake-build#822
Fixed via 674420b
No branches or pull requests
Currently using
CreateDirectory ("./tmp")
throws an error if it already exists.I'm finding a lot of times I end up with this code in my scripts:
It would be very helpful to have an alias that does this for us:
The text was updated successfully, but these errors were encountered: