Skip to content

support forwarding flags without -- #17

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

Open
mesqueeb opened this issue Nov 24, 2021 · 1 comment
Open

support forwarding flags without -- #17

mesqueeb opened this issue Nov 24, 2021 · 1 comment

Comments

@mesqueeb
Copy link

one of the commands I tried to run with dum:

dum test test/internal/fetch.ts -w=@magnetarjs/core

didn't work

But just npm run does work.

npm run test test/internal/fetch.ts -w=@magnetarjs/core

PS: I use npm 7.14+ workspaces

@egoist
Copy link
Owner

egoist commented Nov 26, 2021

Running dum won't forward flags to npm run, it's a standalone npm run implementation which currently doesn't support the -w flag. Flags behind the script name will be forwarded to your script instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants