-
Notifications
You must be signed in to change notification settings - Fork 569
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
feat: update critical sev colour #1627
Conversation
@@ -24,6 +25,7 @@ export enum SEVERITY { | |||
LOW = 'low', | |||
MEDIUM = 'medium', | |||
HIGH = 'high', | |||
CRITICAL = 'critical', |
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.
@JackuB Any reason we have severities enum defined twice? once here and once in src/lib/snyk-test/legacy.ts
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.
Don't think it's intended
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.
Should this also be documented in the CLI help?
Left some minor questions before approving
@@ -24,6 +25,7 @@ export enum SEVERITY { | |||
LOW = 'low', | |||
MEDIUM = 'medium', | |||
HIGH = 'high', | |||
CRITICAL = 'critical', |
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.
Don't think it's intended
5215d82
to
d7c6353
Compare
chore: add default color for unknown severity and avoid crashing test: update testing to include critical severity
d7c6353
to
96f619e
Compare
Expected release notes (by @karenyavine) features: others (will not be included in Semantic-Release notes):
|
What does this PR do?