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

Expose a CLI option to set dependency-check version in use #19

Closed
michalszelagsonos opened this issue Nov 27, 2023 · 2 comments
Closed

Comments

@michalszelagsonos
Copy link
Contributor

michalszelagsonos commented Nov 27, 2023

Given that 9.0.0 and 9.0.1 have a problem, specifically this one: jeremylong/DependencyCheck#6157 it seems prudent to expose a parameter to allow for pinning to a specific version. Currently, the code just checks for latest available and uses that which is a pretty risky proposition if there is a regression in a new release. Giving a user an option to set specific version seems like a very useful feature that favors stability. Users that just want to update to latest all the time can stick with current behavior

@centi
Copy link
Collaborator

centi commented Dec 30, 2023

Thank you for the PR>

@centi centi closed this as completed Dec 30, 2023
@vincego
Copy link

vincego commented Mar 15, 2024

Please be aware that this option doesn't work when binDir parent folder (defaults to ./dependency-check-bin) doesn't exist because cleanDir function won't create binDir recursively and fails with "ENOENT: no such file or directory, mkdir".

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

3 participants