From ef4db2dcda0ae52271ee1e5f7ef3fff1b2904d5d Mon Sep 17 00:00:00 2001 From: Petr Hracek Date: Wed, 8 Jan 2025 12:32:55 +0100 Subject: [PATCH] Update src/action.ts Co-authored-by: Jan Macku --- src/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action.ts b/src/action.ts index 7b4fcda..06ef511 100644 --- a/src/action.ts +++ b/src/action.ts @@ -289,7 +289,7 @@ async function action(pr: PullRequest): Promise { // Since metadata are fetched at the beginning of the action, we need to refresh them do { - const issue_comment_timeout = Math.floor(Math.random() * 10000); + const timeout = Math.floor(Math.random() * 10000); debug(`set timeout to ${timeout}`); await setTimeout(timeout); await pr.metadata.refresh();