Skip to content

Commit

Permalink
fixup token population
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun committed May 1, 2024
1 parent 7a5ea45 commit ce5f10d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cyborg/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export function handleError(err: any): void {
}

export function obtainClient(): InstanceType<typeof GitHub> {
const env = config().parsed
return getOctokit(env["GITHUB_TOKEN"])
config()
return getOctokit(process.env["GITHUB_TOKEN"])
}

0 comments on commit ce5f10d

Please sign in to comment.