From aa297d42a6757363260fc555bac125addfaa4cc4 Mon Sep 17 00:00:00 2001 From: Michael Waddell Date: Wed, 9 Feb 2022 14:21:04 -0600 Subject: [PATCH] linting --- src/dry-run.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dry-run.ts b/src/dry-run.ts index c5327b29..8d7343a0 100755 --- a/src/dry-run.ts +++ b/src/dry-run.ts @@ -39,11 +39,11 @@ async function check (args: any): Promise { // Retries the commit message if the PR is from Dependabot const commitMessage = await getMessage(githubClient, actionContext) - const pull_request: any = await (await githubClient.rest.pulls.get({ owner: repoDetails.owner, repo: repoDetails.repo, pull_number: args.prNumber })).data + const pullRequest: any = await (await githubClient.rest.pulls.get({ owner: repoDetails.owner, repo: repoDetails.repo, pull_number: args.prNumber })).data const newContext = new Context() newContext.payload = { - pull_request: pull_request, + pull_request: pullRequest, repository: actionContext.payload.repository }