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

fails when passing arguments separately #203

Open
its-dibo opened this issue Jul 23, 2022 · 2 comments
Open

fails when passing arguments separately #203

its-dibo opened this issue Jul 23, 2022 · 2 comments

Comments

@its-dibo
Copy link

its-dibo commented Jul 23, 2022

when I run shx rm -f -r dir it fails with the error path is a directory
but when I run the exactly same command but putting arguments together it success shx rm -fr dir

the command works without shx rm -f -r dir

tested on linux

@nfischer
Copy link
Member

This is currently unsupported in shelljs and shx. You'll need to pass options in a single string (as you've discovered).

@its-dibo
Copy link
Author

its-dibo commented Sep 4, 2022

please at least update your docs to refer this issue

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