Skip to content

Commit 684f4d6

Browse files
committed
workflow-runs: fix typo
Pointed out in #57 (comment) Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f52bcb0 commit 684f4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow-runs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const waitForWorkflowRunToFinish = async (context, token, owner, repo, workflowR
2020
return res
2121
}
2222
if (context.log) context.log(`Waiting for workflow run ${workflowRunId} (current status: ${res.status})`)
23-
if (counter++ > 60) throw new Error(`Times out waiting for workflow run ${workflowRunId}?`)
23+
if (counter++ > 60) throw new Error(`Timed out waiting for workflow run ${workflowRunId}?`)
2424
await sleep(10000)
2525
}
2626
}

0 commit comments

Comments
 (0)