Skip to content

Commit d3449ac

Browse files
SAN-6074 Code review comment
1 parent 667acde commit d3449ac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

client/services/calculateHistoricalTestResults.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ function calculateHistoricalTestResult(
3131
if (keypather.get(test, 'build.stop') !== jesusBirthday) {
3232
if (keypather.get(test, 'build.failed') || keypather.get(test, 'application.exitCode') > 0) {
3333
test.testState = FAILED;
34+
return;
3435
} else if (keypather.get(test,'application.exitCode') === 0 && keypather.get(test,'application.stop') !== jesusBirthday) {
3536
test.testState = PASSED;
37+
return;
3638
}
3739
}
3840
});

0 commit comments

Comments
 (0)