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
ShellJS: internal error on shelljs.mkdir('myFile/myDir') #720
Labels
fix
Bug/defect, or a fix for such a problem
Comments
nfischer
added a commit
that referenced
this issue
May 14, 2017
In particular, this fixes: - if we try to overwrite a file with a mkdir - if we try to create a subdirectory of a file - adds `continue: true` in spots where we missed it Fixes #720
nfischer
added a commit
that referenced
this issue
May 16, 2017
* fix(mkdir): improve error handling around files In particular, this fixes: - if we try to overwrite a file with a mkdir - if we try to create a subdirectory of a file - adds `continue: true` in spots where we missed it Fixes #720 * Fixing tests on Windows
This was referenced Aug 29, 2019
This was referenced Mar 24, 2020
This was referenced Apr 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Node version (or tell us if you're using electron or some other framework):
6.9.2
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.7
Operating system:
Ubuntu 16.04
Description of the bug:
ShellJS throws the following error when calling
shelljs.mkdir('myFile/myDir')
with an existing filemyFile
:This cannot be caught by try...catch, but should be.
Inspired by #473
Example ShellJS command to reproduce the error:
The text was updated successfully, but these errors were encountered: