-
Notifications
You must be signed in to change notification settings - Fork 237
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
The flag --ignore can only be set once #456
Comments
same here |
Workaround: use a glob pattern: in "pretest": "npm-check -i \"{node-fetch,puppeteer{,-core}}\"; npm outdated || exit 0", |
the workaround from @jandppw worked great for me in node14 but in node16 something changed and i think it needs to be double quoted now "pretest": "npm-check -i '\"{node-fetch,puppeteer{,-core}}\"'; npm outdated || exit 0", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used to run
npm-check -i <glob1> -i <glob2> ...
. Now this produces the error message "The flag --ignore can only be set once". The ignore globs are supposed to be an array, so why can't I do this anymore? How should I ignore multiple, different globs?The text was updated successfully, but these errors were encountered: