Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Fix CI errors attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandapip1 authored Jul 24, 2022
1 parent c950c13 commit 0c73dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infra/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getEventName = () => {
};

const getPullNumber = () => {
return parseInt(context.payload?.pull_request?.number || process.env.PR_NUMBER);
return context.payload?.pull_request?.number || Number(process.env.PR_NUMBER);
};

const getPullRequestFromNumber = (pullNumber: number) => {
Expand Down

0 comments on commit 0c73dd6

Please sign in to comment.