Skip to content

Commit 41ce55c

Browse files
authored
Fix release status method (#6001)
Fix release status method, it crashes with unexpected error on timeout
1 parent 03414f0 commit 41ce55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async function checkStatuses (contexts) {
5252
attempts++
5353

5454
if (attempts >= MAX_ATTEMPTS) {
55-
throw new Error(`Jobs did not finish before timeout: ${contexts.join(', ')}.`)
55+
throw new Error(`Jobs did not finish before timeout: ${[...contexts].join(', ')}.`)
5656
}
5757

5858
setTimeout(() => checkStatuses(contexts), TIMEOUT)

0 commit comments

Comments
 (0)