mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-14 18:53:25 +00:00
chore: format code
This commit is contained in:
parent
301f1a191b
commit
cc3b699823
1 changed files with 1 additions and 5 deletions
|
|
@ -1231,11 +1231,7 @@ export namespace SessionPrompt {
|
|||
},
|
||||
}
|
||||
await Session.updatePart(part)
|
||||
const shell =
|
||||
process.env["SHELL"] ??
|
||||
(process.platform === "win32"
|
||||
? process.env["COMSPEC"] || "cmd.exe"
|
||||
: "bash")
|
||||
const shell = process.env["SHELL"] ?? (process.platform === "win32" ? process.env["COMSPEC"] || "cmd.exe" : "bash")
|
||||
const shellName = path.basename(shell).toLowerCase()
|
||||
|
||||
const invocations: Record<string, { args: string[] }> = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue