-
Notifications
You must be signed in to change notification settings - Fork 572
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
fix: propagate argument to all modules #1878
Conversation
Parse args as a first things, before other modules are required. That will allow others to pick arguments.
e5933b1
to
b68c688
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small question... why we are not propagating this globalArgs also in?
https://github.com/snyk/snyk/blob/b68c6882c7a1703428c58c191718a1d72bbe84ab/src/cli/index.ts#L427
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 LGTM
Parse args as a first things, before other modules are required.
That will allow others to pick arguments.