Skip to content

Commit

Permalink
make it work with TS 4.4
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Gymnich <timgymnich@me.com>
  • Loading branch information
splitice and tgymnich authored Oct 30, 2021
1 parent 941fd03 commit bf7836b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function run() {
if(autoMerge) {
await octokit.pulls.merge({ owner: context.repo.owner, repo, pull_number: pr.data.number, merge_method: mergeMethod });
}
} catch (error) {
} catch (error: any) {
if (error.request.request.retryCount) {
console.log(
`request failed after ${error.request.request.retryCount} retries with a delay of ${error.request.request.retryAfter}`
Expand Down

0 comments on commit bf7836b

Please sign in to comment.