aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-20 22:57:05 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-20 22:57:05 -0700
commit76e92abc7e46ceed33da4c5b6fc00cfd37723309 (patch)
treebf84c94cee4ceb23d571d09ccea2999a9e27f897 /src/bun.js
parentdb062a7c308832ab0ce761d0a766a31e4aa7f6fb (diff)
downloadbun-76e92abc7e46ceed33da4c5b6fc00cfd37723309.tar.gz
bun-76e92abc7e46ceed33da4c5b6fc00cfd37723309.tar.zst
bun-76e92abc7e46ceed33da4c5b6fc00cfd37723309.zip
Fix missing arg
Diffstat (limited to 'src/bun.js')
-rw-r--r--src/bun.js/bindings/exports.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.js/bindings/exports.zig b/src/bun.js/bindings/exports.zig
index d1afbf683..666adf595 100644
--- a/src/bun.js/bindings/exports.zig
+++ b/src/bun.js/bindings/exports.zig
@@ -1012,6 +1012,7 @@ pub const ZigConsoleClient = struct {
flush: bool,
ordered_properties: bool = false,
quote_strings: bool = false,
+ max_depth: u16 = 8,
};
pub fn format(
@@ -1039,6 +1040,7 @@ pub const ZigConsoleClient = struct {
.globalThis = global,
.ordered_properties = options.ordered_properties,
.quote_strings = options.quote_strings,
+ .max_depth = options.max_depth,
};
const tag = ZigConsoleClient.Formatter.Tag.get(vals[0], global);