npm-run-all icon indicating copy to clipboard operation
npm-run-all copied to clipboard

Passing through globs as arguments will not work

Open sebinsua opened this issue 7 years ago • 1 comments

Passing through globs as arguments will not work since internally this line will be run and the argument will then be converted by ./spawn into '[object Object]'.

I found this out while trying to pass in --scope=@org/component-* through npm-run-all into a script that runs a lerna run something task.

sebinsua avatar Feb 26 '18 15:02 sebinsua

@sebinsua Can you try with the master branch? I ran into something similar before and submitted a PR that was merged. See https://github.com/mysticatea/npm-run-all/commit/35f86ae8e613a853ce9acffc3b2a49552e31ee62#diff-b43628fb05fb9c145424caff92dc9fc6.

You can also try putting the pattern in quotes, I believe node-shell-quote then should leave it alone.

erikkemperman avatar May 05 '18 16:05 erikkemperman