Skip to content

Commit

Permalink
chore: do not show vuln count text if vuln count is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
j-luong committed Nov 23, 2023
1 parent 033be34 commit 204162a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snyk/snykOss/editor/editorDecorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class EditorDecorator {
this.fileDecorationMap.set(filePath, lineDecorations); // set map, if no decoration was set before
}

const vulnerabilityCountMessage = vulnerabilityCount.count ?? 'Vulnerabilities: 0';
const vulnerabilityCountMessage = vulnerabilityCount.count ?? '';

lineDecorations[vulnerabilityCount.line] = {
range: this.languages.createRange(
Expand Down

0 comments on commit 204162a

Please sign in to comment.