diff --git a/lib/core/utils/aggregate-checks.js b/lib/core/utils/aggregate-checks.js index ef62e97d..48a5226e 100644 --- a/lib/core/utils/aggregate-checks.js +++ b/lib/core/utils/aggregate-checks.js @@ -67,12 +67,7 @@ function aggregateChecks(nodeResOriginal) { nodeResult[type].forEach(check => impacts.push(check.impact)); }); - // for failed nodes, define the impact - if ([CANTTELL_PRIO, FAIL_PRIO].includes(nodeResult.priority)) { - nodeResult.impact = aggregate(constants.impact, impacts); - } else { - nodeResult.impact = null; - } + nodeResult.impact = aggregate(constants.impact, impacts); // Delete the old result and priority properties anyAllNone(nodeResult, c => {