Return results as it is from PostBreachParser if no changes

This commit is contained in:
Shreya 2020-08-05 02:45:22 +05:30
parent d3790ee5d8
commit 5817226447
1 changed files with 1 additions and 1 deletions

View File

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