Skip to content

Commit

Permalink
Merge pull request #110 from browserstack/release-3.2.1
Browse files Browse the repository at this point in the history
Release 3.2.1
  • Loading branch information
ansh21 authored Nov 19, 2024
2 parents ee349a8 + 44fe062 commit 4334d1a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/core/utils/aggregate-checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 4334d1a

Please sign in to comment.