Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yeager-eren committed Dec 31, 2023
1 parent d9ea99a commit 25d3e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/common/github.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ export async function createPullRequest(pr) {
baseBranch,
'--head',
branch,
'--templatePath',
'--template',
templatePath,
];
const output = await execa('gh', ['pr', 'create', ...ghCreateParams])
.then(({ stdout }) => stdout)
.catch((err) => {
throw new GithubCommandError(
`gh pr command failed. \n ${err.stdout} \n ${err.stdout} \n ${err}`
`gh pr command failed. \n ${err.stdout || err} \n`
);
});

Expand Down

0 comments on commit 25d3e51

Please sign in to comment.