Skip to content

Commit 58d2376

Browse files
authored
Update entrypoint.js
1 parent 1d6ed25 commit 58d2376

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entrypoint.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,8 @@ const processReport = function () {
420420
severity: v.severity == 'Unknown' ? 'Information' : (v.severity || ''),
421421
category: v.category || '',
422422
identifier: (v.identifiers || []).map(i => i.type == 'cwe' ? undefined : i.value).filter(o => o),
423-
location: v.location.file.truncateLeft(40)
423+
location: v.location.file.truncateLeft(40),
424+
lines: `${v.location.start_line}/${v.location.end_line}`
424425
}
425426
}))
426427
if (securityServerity.critical || securityServerity.high) {

0 commit comments

Comments
 (0)