Merge pull request #762 from shreyamalviya/pba-report-bug

Fix rendering bug in security report generation due to PBA section
This commit is contained in:
VakarisZ 2020-08-05 10:48:04 +03:00 committed by GitHub
commit d6264e961f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ function aggregateShellStartupPba(results) {
failedOutputs += results[i].result[0];
}
}
if(aggregatedPbaResult === undefined) return;
if(aggregatedPbaResult === undefined) return results;
results = results.filter(result => result.name !== SHELL_STARTUP_NAME);
aggregatedPbaResult.result[0] = successfulOutputs + failedOutputs;