Skip to content

Commit 17eb5ca

Browse files
committed
Stop retrying cleanup
1 parent 828d6b1 commit 17eb5ca

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

run-tests.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -886,17 +886,17 @@ ${ENDGROUP}`)
886886
return hadFailures
887887
}
888888

889-
main()
890-
.then((hadFailures) => {
889+
main().then(
890+
(hadFailures) => {
891891
if (hadFailures) {
892892
console.error('Some tests failed')
893893
return cleanUpAndExit(1)
894894
} else {
895895
return cleanUpAndExit(0)
896896
}
897-
})
898-
.catch((err) => {
899-
console.error(err)
900-
// Retry cleanup one more time.
897+
},
898+
(reason) => {
899+
console.error(reason)
901900
return cleanUpAndExit(1)
902-
})
901+
}
902+
)

0 commit comments

Comments
 (0)