Return results as it is from PostBreachParser if no changes
This commit is contained in:
parent
d3790ee5d8
commit
5817226447
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue