diff options
| author | Dax Raad <[email protected]> | 2025-05-19 19:29:38 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-26 12:40:17 -0400 |
| commit | 2437ce3f8b79a7f9d987862b633f3340bfa2c1c4 (patch) | |
| tree | d46690ea1bf8043871e26b6139f96997b16a6252 /js/src/util | |
| parent | fa8a46326afa2d7fbb592542abf243f248cb5992 (diff) | |
| download | opencode-2437ce3f8b79a7f9d987862b633f3340bfa2c1c4.tar.gz opencode-2437ce3f8b79a7f9d987862b633f3340bfa2c1c4.zip | |
toolz
Diffstat (limited to 'js/src/util')
| -rw-r--r-- | js/src/util/log.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/util/log.ts b/js/src/util/log.ts index 8d316e04e..c43514ef6 100644 --- a/js/src/util/log.ts +++ b/js/src/util/log.ts @@ -14,10 +14,10 @@ export namespace Log { export function file(directory: string) { const out = Bun.file( path.join(AppPath.data(directory), "opencode.out.log"), - ); + ).writer(); const err = Bun.file( path.join(AppPath.data(directory), "opencode.err.log"), - ); + ).writer(); write["out"] = (msg) => out.write(msg); write["err"] = (msg) => err.write(msg); } |
