Skip to content

Commit 20d4fd7

Browse files
committed
Removing output from summary message
1 parent f899426 commit 20d4fd7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106789,7 +106789,7 @@ function runAction(options) {
106789106789
}
106790106790
// if scan was set to fail the pipeline should fail and show a summary of the scan results
106791106791
if (code != null && code > 0 && (options.breakBuildOnPolicyFindings == 'true')) {
106792-
let summary_info = "Veraocde SCA Scan failed with exit code " + code + "\n" + output;
106792+
let summary_info = "Veraocde SCA Scan failed with exit code " + code + "\n";
106793106793
core.setFailed(summary_info);
106794106794
}
106795106795
//run(options,core.info);

src/srcclr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export async function runAction (options: Options) {
268268

269269
// if scan was set to fail the pipeline should fail and show a summary of the scan results
270270
if ( code != null && code > 0 && (options.breakBuildOnPolicyFindings == 'true')){
271-
let summary_info = "Veraocde SCA Scan failed with exit code "+code+"\n"+output
271+
let summary_info = "Veraocde SCA Scan failed with exit code "+code+"\n"
272272
core.setFailed(summary_info)
273273
}
274274
//run(options,core.info);

0 commit comments

Comments
 (0)