Skip to content

Commit 95531ff

Browse files
committed
Added severity to passes result also
1 parent 60ba8d8 commit 95531ff

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/core/utils/aggregate-checks.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,7 @@ function aggregateChecks(nodeResOriginal) {
6767
nodeResult[type].forEach(check => impacts.push(check.impact));
6868
});
6969

70-
// for failed nodes, define the impact
71-
if ([CANTTELL_PRIO, FAIL_PRIO].includes(nodeResult.priority)) {
72-
nodeResult.impact = aggregate(constants.impact, impacts);
73-
} else {
74-
nodeResult.impact = null;
75-
}
70+
nodeResult.impact = aggregate(constants.impact, impacts);
7671

7772
// Delete the old result and priority properties
7873
anyAllNone(nodeResult, c => {

0 commit comments

Comments
 (0)