We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd1b18 commit 847a63eCopy full SHA for 847a63e
packages/opencode/src/cli/cmd/github.ts
@@ -185,7 +185,11 @@ export const GithubInstallCommand = cmd({
185
}
186
187
// Get repo info
188
- const info = await $`git remote get-url origin`.quiet().nothrow().text()
+ const info = await $`git remote get-url origin`
189
+ .quiet()
190
+ .nothrow()
191
+ .text()
192
+ .then((text) => text.trim())
193
// match https or git pattern
194
// ie. https://github.com/sst/opencode.git
195
// ie. https://github.com/sst/opencode
0 commit comments