Skip to content
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

--errorLevel 2 option with -du doesn't work as expected #1441

Open
1 task done
jschirrmacher opened this issue Aug 6, 2024 · 0 comments
Open
1 task done

--errorLevel 2 option with -du doesn't work as expected #1441

jschirrmacher opened this issue Aug 6, 2024 · 0 comments
Labels

Comments

@jschirrmacher
Copy link


Steps to Reproduce

.ncurc: empty

Steps:

Current Behavior

When running ncu --errorLevel 2 -du on a clean repository, ncu installs dependencies and runs tests (successfully), then tries to update the dependencies and re-run tests. It prints out

Upgrading all dependencies and re-running tests
ncu --errorLevel 2 -du
Error: 
Dependencies not up-to-date
    at _e (/Users/joschi/.npm/_npx/0a80f0fb114540fe/node_modules/npm-check-updates/build/index.js:450:1731)
    at fle (/Users/joschi/.npm/_npx/0a80f0fb114540fe/node_modules/npm-check-updates/build/index.js:541:831)
    at async Gre (/Users/joschi/.npm/_npx/0a80f0fb114540fe/node_modules/npm-check-updates/build/index.js:450:4938)

It all works well when called without --errorLevel 2 or with any other error level value.

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

No branches or pull requests

2 participants