mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: Writing to Bun.stderr causes CPU pinning to 100%. (#5396)
This commit is contained in:
parent
16b7370d8c
commit
755a79cd8e
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ export namespace Log {
|
|||
export function file() {
|
||||
return logpath
|
||||
}
|
||||
let write = (msg: any) => Bun.stderr.write(msg)
|
||||
let write = (msg: any) => process.stderr.write(msg)
|
||||
|
||||
export async function init(options: Options) {
|
||||
if (options.level) level = options.level
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue