mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
ci: windows
This commit is contained in:
parent
2384c7e734
commit
00a3d818b6
2 changed files with 5 additions and 2 deletions
|
@ -26,7 +26,9 @@ export namespace BunProc {
|
|||
},
|
||||
})
|
||||
const code = await result.exited
|
||||
// @ts-ignore
|
||||
const stdout = await result.stdout.text()
|
||||
// @ts-ignore
|
||||
const stderr = await result.stderr.text()
|
||||
log.info("done", {
|
||||
code,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { z } from "zod"
|
||||
import { EOL } from "os"
|
||||
import { NamedError } from "../util/error"
|
||||
|
||||
export namespace UI {
|
||||
|
@ -29,7 +30,7 @@ export namespace UI {
|
|||
|
||||
export function println(...message: string[]) {
|
||||
print(...message)
|
||||
Bun.stderr.write("\n")
|
||||
Bun.stderr.write(EOL)
|
||||
}
|
||||
|
||||
export function print(...message: string[]) {
|
||||
|
@ -52,7 +53,7 @@ export namespace UI {
|
|||
result.push(row[0])
|
||||
result.push("\x1b[0m")
|
||||
result.push(row[1])
|
||||
result.push("\n")
|
||||
result.push(EOL)
|
||||
}
|
||||
return result.join("").trimEnd()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue