shelljs/shx

fails when passing arguments separately

its-dibo opened this issue · 2 comments

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

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