Skip to content

Commit ab0c285

Browse files
committed
fix report flag
1 parent 36c5b2e commit ab0c285

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

action.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ async function exec () {
88
var config = parseConfig();
99
netsparker = new Netsparker(config.userid, config.apitoken, config.profilename, config.targetsite);
1010
const scanId = await netsparker.scan();
11-
if(config.report
12-
|| (config.criticalthreshold || config.highthreshold || config.mediumthreshold)) {
11+
if(config.report) {
1312
await netsparker.waitForScanToComplete(scanId);
1413
const scanResults = await netsparker.scanResults(scanId);
1514
core.setOutput('scanresults', scanResults);

0 commit comments

Comments
 (0)