diff --git a/.github/workflows/scripts/redeliver-failed-deliveries.js b/.github/workflows/scripts/redeliver-failed-deliveries.js index d79253681..818fb1459 100644 --- a/.github/workflows/scripts/redeliver-failed-deliveries.js +++ b/.github/workflows/scripts/redeliver-failed-deliveries.js @@ -1,7 +1,7 @@ // This script uses GitHub's Octokit SDK to make API requests. For more information, see "[AUTOTITLE](/rest/guides/scripting-with-the-rest-api-and-javascript)." const { App, Octokit } = require("octokit"); -const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms)); +const sleep = ms => new Promise(r => setTimeout(r, ms)); const secondDelivery = true; //