-
Notifications
You must be signed in to change notification settings - Fork 739
Force symbolic link (ln -sf) does not overwrite/recreate existing destination #830
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
Comments
Possibly related to #829? @SeanSnyders could you give a more complete example? It's not clear what When I run your script, I get:
Which makes sense, because I don't have |
Not sure if it is related to #829 because it works for me on Yes, The error is as I described when trying to run |
I'm not sure what "it" is. What works on macOS? Does that same thing not work on Linux or some other OS?
Or you could write a script which creates those precondition folders/files/symlinks 😄 I'm happy to investigate the issue, but it helps to have a script I can run in an empty working directory to reproduce the problem (and so that I can compare against unix behavior). |
I tried once more today to repro (on Linux). Specifically:
I'm closing this because I can't repro. @SeanSnyders please ping this thread if you still see the issue, and if possible, please provide more clarification. |
Node version (or tell us if you're using electron or some other framework):
8.11.1
npm version (or tell us if you're using electron or some other framework):
5.6.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.7 and 0.8.1
Operating system:
ubuntu 14.04
Description of the bug:
On
ubuntu
the symlink commandln -sf
seems to not force the link if the destination exists. Seems to work fine onmacOS
.Example ShellJS command to reproduce the error:
On linux:
The text was updated successfully, but these errors were encountered: