mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-25 23:15:18 +00:00
tweak: fix [object Object] in logging (#1114)
This commit is contained in:
parent
81c88cc742
commit
edfea03917
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ export namespace Log {
|
|||
...extra,
|
||||
})
|
||||
.filter(([_, value]) => value !== undefined && value !== null)
|
||||
.map(([key, value]) => `${key}=${value}`)
|
||||
.map(([key, value]) => `${key}=${typeof value === "object" ? JSON.stringify(value) : value}`)
|
||||
.join(" ")
|
||||
const next = new Date()
|
||||
const diff = next.getTime() - last
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue