Skip to content
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

fix some spelling #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38660,7 +38660,7 @@ function runAction(options) {
const repo = repository.split("/");
const commentID = (_b = context.payload.pull_request) === null || _b === void 0 ? void 0 : _b.number;
let commentBody = '<br>![](https://www.veracode.com/sites/default/files/2022-04/logo_1.svg)<br>';
commentBody += "<pre>Veraocde SCA Scan finished with exit code " + code + "\n";
commentBody += "<pre>Veracode SCA Scan finished with exit code " + code + "\n";
commentBody += '\n<details><summary>Veracode SCA Scan details</summary><p>\n';
commentBody += output; //.replace(/ /g, '&nbsp;&nbsp;&nbsp;&nbsp;');
commentBody += '</p></details>\n</pre>';
Expand All @@ -38680,7 +38680,7 @@ function runAction(options) {
}
// if scan was set to fail the pipeline should fail and show a summary of the scan results
if (code != null && code > 0) {
let summary_info = "Veraocde SCA Scan failed with exit code " + code + "\n" + output;
let summary_info = "Veracode SCA Scan failed with exit code " + code + "\n" + output;
core.setFailed(summary_info);
}
//run(options,core.info);
Expand Down Expand Up @@ -40653,4 +40653,4 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"]
/******/ module.exports = __webpack_exports__;
/******/
/******/ })()
;
;
4 changes: 2 additions & 2 deletions src/srcclr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export async function runAction (options: Options) {


let commentBody = '<br>![](https://www.veracode.com/sites/default/files/2022-04/logo_1.svg)<br>'
commentBody += "<pre>Veraocde SCA Scan finished with exit code "+code+"\n"
commentBody += "<pre>Veracode SCA Scan finished with exit code "+code+"\n"
commentBody += '\n<details><summary>Veracode SCA Scan details</summary><p>\n'
commentBody += output //.replace(/ /g, '&nbsp;&nbsp;&nbsp;&nbsp;');
commentBody += '</p></details>\n</pre>'
Expand Down Expand Up @@ -231,7 +231,7 @@ export async function runAction (options: Options) {

// if scan was set to fail the pipeline should fail and show a summary of the scan results
if ( code != null && code > 0 ){
let summary_info = "Veraocde SCA Scan failed with exit code "+code+"\n"+output
let summary_info = "Veracode SCA Scan failed with exit code "+code+"\n"+output
core.setFailed(summary_info)
}
//run(options,core.info);
Expand Down