Skip to content

Commit b97e197

Browse files
committed
enable vulnerability source links for github and osv
Signed-off-by: Sahiba Mittal <[email protected]>
1 parent 6a8d4d8 commit b97e197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ $common.formatAnalyzerLabel = function formatAnalyzerLabel(analyzer, vulnSource,
103103
let analyzerUrl = null;
104104
switch (analyzer) {
105105
case 'INTERNAL_ANALYZER':
106-
analyzerLabel = vulnSource ?? "Internal";
106+
analyzerLabel = vulnSource;
107107
if(vulnSource === "GITHUB") {
108108
analyzerUrl = "https://github.com/advisories/" + vulnId;
109109
} else if(vulnSource === "OSV") {

0 commit comments

Comments
 (0)