Open its-dibo opened 2 years ago
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
shx rm -f -r dir
path is a directory
shx rm -fr dir
the command works without shx rm -f -r dir
rm -f -r dir
tested on linux
This is currently unsupported in shelljs and shx. You'll need to pass options in a single string (as you've discovered).
please at least update your docs to refer this issue
when I run
shx rm -f -r dir
it fails with the errorpath is a directory
but when I run the exactly same command but putting arguments together it successshx rm -fr dir
the command works without shx
rm -f -r dir
tested on linux