Skip to content

Commit 00a3d81

Browse files
committed
ci: windows
1 parent 2384c7e commit 00a3d81

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎packages/opencode/src/bun/index.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export namespace BunProc {
2626
},
2727
})
2828
const code = await result.exited
29+
// @ts-ignore
2930
const stdout = await result.stdout.text()
31+
// @ts-ignore
3032
const stderr = await result.stderr.text()
3133
log.info("done", {
3234
code,

‎packages/opencode/src/cli/ui.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { z } from "zod"
2+
import { EOL } from "os"
23
import { NamedError } from "../util/error"
34

45
export namespace UI {
@@ -29,7 +30,7 @@ export namespace UI {
2930

3031
export function println(...message: string[]) {
3132
print(...message)
32-
Bun.stderr.write("\n")
33+
Bun.stderr.write(EOL)
3334
}
3435

3536
export function print(...message: string[]) {
@@ -52,7 +53,7 @@ export namespace UI {
5253
result.push(row[0])
5354
result.push("\x1b[0m")
5455
result.push(row[1])
55-
result.push("\n")
56+
result.push(EOL)
5657
}
5758
return result.join("").trimEnd()
5859
}

0 commit comments

Comments
 (0)