Skip to content

Commit eec7ab7

Browse files
build: update distribution (#4361)
Co-authored-by: peter-evans <18365890+peter-evans@users.noreply.github.com>
1 parent 5f6978f commit eec7ab7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,9 @@ class GitHubHelper {
15091509
const isEventualConsistencyError = (e) => e instanceof request_error_1.RequestError &&
15101510
e.status === 422 &&
15111511
e.message.includes('Could not resolve to a node');
1512-
const withRetryForNewPr = (fn) => pull.created ? utils.retryWithBackoff(fn, isEventualConsistencyError) : fn();
1512+
const withRetryForNewPr = (fn) => pull.created
1513+
? utils.retryWithBackoff(fn, isEventualConsistencyError)
1514+
: fn();
15131515
// Apply milestone
15141516
if (inputs.milestone) {
15151517
core.info(`Applying milestone '${inputs.milestone}'`);

0 commit comments

Comments
 (0)