Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jun 12, 2024
1 parent c6bedb3 commit ab40afd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/core/src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ export function parseGHTokenFromEnv(
serverUrl && runId
? `${serverUrl}/${repository}/actions/runs/${runId}`
: undefined
const issue = env.GITHUB_ISSUE ?? normalizeInt(
/^refs\/pull\/(?<issue>\d+)\/merge$/.exec(ref || "")?.groups?.issue
const issue = normalizeInt(
env.GITHUB_ISSUE ??
/^refs\/pull\/(?<issue>\d+)\/merge$/.exec(ref || "")?.groups?.issue
)

return {
Expand Down

0 comments on commit ab40afd

Please sign in to comment.