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

Skip unused dependency check to avoid depcheck open file spike #1148

Merged
merged 1 commit into from Dec 10, 2021

Conversation

mikrostew
Copy link
Contributor

From npm-check docs:

-s, --skip-unused

By default npm-check will let you know if any of your modules are not being used by looking at require statements in your code.

This option will skip that check.

Checkup doesn't use this info when calculating out-of-date dependencies, and it causes a big spike in open files due to how depcheck works internally.

This PR is a small change to avoid that.

@scalvert scalvert added the bug Something isn't working label Dec 10, 2021
@scalvert scalvert self-requested a review December 10, 2021 17:29
@scalvert scalvert merged commit 2e711f8 into checkupjs:master Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants