Skip to content

Commit

Permalink
fix(cli): Fix to set org in the github to be used in create pull requ…
Browse files Browse the repository at this point in the history
…est api. (#2902)
  • Loading branch information
Wentao-Kuang authored Aug 21, 2023
1 parent fb7930c commit 0081275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/cli/github/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class Github {
this.logger = logger;
const [org, repoName] = repo.split('/');
if (org == null || repoName == null) throw new Error(`Badly formatted repo name: ${repo}`);
this.org = org;
this.repoName = repoName;

const token = Env.get(Env.GitHubToken);
Expand Down

0 comments on commit 0081275

Please sign in to comment.