diff --git a/dist/index.js b/dist/index.js index 11d7a2d751..ee0c059430 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1509,7 +1509,9 @@ class GitHubHelper { const isEventualConsistencyError = (e) => e instanceof request_error_1.RequestError && e.status === 422 && e.message.includes('Could not resolve to a node'); - const withRetryForNewPr = (fn) => pull.created ? utils.retryWithBackoff(fn, isEventualConsistencyError) : fn(); + const withRetryForNewPr = (fn) => pull.created + ? utils.retryWithBackoff(fn, isEventualConsistencyError) + : fn(); // Apply milestone if (inputs.milestone) { core.info(`Applying milestone '${inputs.milestone}'`);