mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
zig: prefer .jsUndefined() over .undefined for JSValue (#20332)
This commit is contained in:
@@ -218,7 +218,7 @@ pub fn createMemfdForTesting(globalObject: *JSC.JSGlobalObject, callFrame: *JSC.
|
||||
const arguments = callFrame.arguments_old(1);
|
||||
|
||||
if (arguments.len < 1) {
|
||||
return .undefined;
|
||||
return .jsUndefined();
|
||||
}
|
||||
|
||||
if (comptime !bun.Environment.isLinux) {
|
||||
|
||||
Reference in New Issue
Block a user