-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Bug]: on Windows gh pr create doesn't wrap title with quotes? #1672
Copy link
Copy link
Open
Labels
bugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Make model change the file or change the file yourself
- Press Commit, Push & Create PR button
Expected behavior
PR is created
Actual behavior
PR is not created with an error
Impact
Major degradation or frequent failure
Version or commit
0.0.15
Environment
Windows 11 24H2 26100.7623
Logs or stack traces
Copied error from T3 code itself.
GitHubCliError: GitHub CLI failed in execute: GitHub CLI command failed: gh pr create --base main --head dev --title Stabilize map selection, pricing badges, and camera handling --body-file C:\Users\leo20\AppData\Local\Temp\t3code-pr-body-38228-73481782-d57c-4b4d-ab5e-9906dc728b2b.md failed (code=1, signal=null). unknown arguments ["map" "selection," "pricing" "badges," "and" "camera" "handling"]; please quote all values that have spaces
Usage: gh pr create [flags]
Flags:
-a, --assignee login Assign people by their login. Use "@me" to self-assign.
-B, --base branch The branch into which you want your code merged
-b, --body string Body for the pull request
-F, --body-file file Read body text from file (use "-" to read from standard input)
-d, --draft Mark pull request as a draft
--dry-run Print details instead of creating the PR. May still push git changes.
-e, --editor Skip prompts and open the text editor to write the title and body in. The first line is the title and the remaining text is the body.
-f, --fill Use commit info for title and body
--fill-first Use first commit info for title and body
--fill-verbose Use commits msg+body for description
-H, --head branch The branch that contains commits for your pull request (default [current branch])
-l, --label name Add labels by name
-m, --milestone name Add the pull request to a milestone by name
--no-maintainer-edit Disable maintainer's ability to modify pull request
-p, --project title Add the pull request to projects by title
--recover string Recover input from a failed run of create
-r, --reviewer handle Request reviews from people or teams by their handle
-T, --template file Template file to use as starting body text
-t, --title string Title for the pull request
-w, --web Open the web browser to create a pull request
at normalizeGitHubCliError (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:19975:10)
at catch (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:20046:21)
at file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/node_modules/effect/dist/internal/effect.js:695:103
at ~effect/Utils/internal (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/node_modules/effect/dist/Utils.js:69:12)
at file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/node_modules/effect/dist/internal/effect.js:695:84
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at Effect.fn (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:21987:9)
at Effect.fn (definition) (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:21474:29) {
[cause]: Error: gh pr create --base main --head dev --title Stabilize map selection, pricing badges, and camera handling --body-file C:\Users\leo20\AppData\Local\Temp\t3code-pr-body-38228-73481782-d57c-4b4d-ab5e-9906dc728b2b.md failed (code=1, signal=null). unknown arguments ["map" "selection," "pricing" "badges," "and" "camera" "handling"]; please quote all values that have spaces
Usage: gh pr create [flags]
Flags:
-a, --assignee login Assign people by their login. Use "@me" to self-assign.
-B, --base branch The branch into which you want your code merged
-b, --body string Body for the pull request
-F, --body-file file Read body text from file (use "-" to read from standard input)
-d, --draft Mark pull request as a draft
--dry-run Print details instead of creating the PR. May still push git changes.
-e, --editor Skip prompts and open the text editor to write the title and body in. The first line is the title and the remaining text is the body.
-f, --fill Use commit info for title and body
--fill-first Use first commit info for title and body
--fill-verbose Use commits msg+body for description
-H, --head branch The branch that contains commits for your pull request (default [current branch])
-l, --label name Add labels by name
-m, --milestone name Add the pull request to a milestone by name
--no-maintainer-edit Disable maintainer's ability to modify pull request
-p, --project title Add the pull request to projects by title
--recover string Recover input from a failed run of create
-r, --reviewer handle Request reviews from people or teams by their handle
-T, --template file Template file to use as starting body text
-t, --title string Title for the pull request
-w, --web Open the web browser to create a pull request
at normalizeExitError (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:5909:25)
at file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:6048:13
at finalize (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:5986:4)
at ChildProcess.<anonymous> (file:///C:/Users/leo20/AppData/Local/Programs/t3-code-desktop/resources/app.asar/apps/server/dist/index.mjs:6046:4)
at Object.onceWrapper (node:events:623:26)
at ChildProcess.emit (node:events:508:28)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
}Screenshots, recordings, or supporting files
2026-04-02-04_00_00-T3_Code_(Alpha)-UlNIzXS2fq.png
Workaround
create pr by yourself? kinda...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.