Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
schpet committed Jan 15, 2025
1 parent 646727f commit 0fb8d78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const issueCommand = new Command()
"--draft",
"Create the pull request as a draft",
)
.action(async ({ base }) => {
.action(async ({ base, draft }) => {
const issueId = await getIssueId();
if (!issueId) {
console.error(
Expand All @@ -272,7 +272,7 @@ const issueCommand = new Command()
url,
"--web",
...(base ? ["--base", base] : []),
...(options.draft ? ["--draft"] : []),
...(draft ? ["--draft"] : []),
],
stdin: "inherit",
stdout: "inherit",
Expand Down

0 comments on commit 0fb8d78

Please sign in to comment.