We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 755a79c commit 5b21334Copy full SHA for 5b21334
1 file changed
packages/opencode/src/util/log.ts
@@ -50,7 +50,10 @@ export namespace Log {
50
export function file() {
51
return logpath
52
}
53
- let write = (msg: any) => process.stderr.write(msg)
+ let write = (msg: any) => {
54
+ process.stderr.write(msg)
55
+ return msg.length
56
+ }
57
58
export async function init(options: Options) {
59
if (options.level) level = options.level
0 commit comments