shx icon indicating copy to clipboard operation
shx copied to clipboard

fails when passing arguments separately

Open its-dibo opened this issue 3 years ago • 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

its-dibo avatar Jul 23 '22 17:07 its-dibo

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

nfischer avatar Aug 10 '22 01:08 nfischer

please at least update your docs to refer this issue

its-dibo avatar Sep 04 '22 08:09 its-dibo