mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 13:22:07 +00:00
zig: prefer .jsUndefined() over .undefined for JSValue (#20332)
This commit is contained in:
@@ -1295,7 +1295,7 @@ pub const PipeReader = struct {
|
||||
return JSC.MarkedArrayBuffer.fromBytes(bytes, bun.default_allocator, .Uint8Array).toNodeBuffer(globalThis);
|
||||
},
|
||||
else => {
|
||||
return JSC.JSValue.undefined;
|
||||
return .jsUndefined();
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user