diff --git a/src/bunfig.zig b/src/bunfig.zig index ca0dd45d95..a7a3c0fa2b 100644 --- a/src/bunfig.zig +++ b/src/bunfig.zig @@ -302,7 +302,7 @@ pub const Bunfig = struct { break :brk install_; }; - if (json.get("auto")) |auto_install_expr| { + if (_bun.get("auto")) |auto_install_expr| { if (auto_install_expr.data == .e_string) { this.ctx.debug.global_cache = options.GlobalCache.Map.get(auto_install_expr.asString(this.allocator) orelse "") orelse { try this.addError(auto_install_expr.loc, "Invalid auto install setting, must be one of true, false, or \"force\" \"fallback\" \"disable\""); @@ -325,7 +325,7 @@ pub const Bunfig = struct { } } - if (json.get("prefer")) |prefer_expr| { + if (_bun.get("prefer")) |prefer_expr| { try this.expect(prefer_expr, .e_string); if (Prefer.get(prefer_expr.asString(bun.default_allocator) orelse "")) |setting| {