File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -6583,7 +6583,7 @@ function run() {
65836583 const trivyOptions = {
65846584 severity: core.getInput('severity').replace(/\s+/g, ''),
65856585 vulnType: core.getInput('vuln_type').replace(/\s+/g, ''),
6586- ignoreUnfixed: core.getInput('ignore_unfixed').toLowerCase() === 'true' ? true : false ,
6586+ ignoreUnfixed: core.getInput('ignore_unfixed').toLowerCase() === 'true',
65876587 };
65886588 const downloader = new trivy_1.Downloader();
65896589 const trivyCmdPath = yield downloader.download(trivyVersion);
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ async function run() {
2424 const trivyOptions : TrivyOption = {
2525 severity : core . getInput ( 'severity' ) . replace ( / \s + / g, '' ) ,
2626 vulnType : core . getInput ( 'vuln_type' ) . replace ( / \s + / g, '' ) ,
27- ignoreUnfixed :
28- core . getInput ( 'ignore_unfixed' ) . toLowerCase ( ) === 'true' ? true : false ,
27+ ignoreUnfixed : core . getInput ( 'ignore_unfixed' ) . toLowerCase ( ) === 'true' ,
2928 } ;
3029
3130 const downloader = new Downloader ( ) ;
You can’t perform that action at this time.
0 commit comments