Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaddell committed Feb 9, 2022
1 parent ca81f58 commit aa297d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dry-run.ts
Expand Up @@ -39,11 +39,11 @@ async function check (args: any): Promise<void> {

// 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
}

Expand Down

0 comments on commit aa297d4

Please sign in to comment.