mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 03:18:53 +00:00
zig: prefer .jsUndefined() over .undefined for JSValue (#20332)
This commit is contained in:
@@ -320,7 +320,7 @@ pub fn attrTest(globalThis: *JSC.JSGlobalObject, callframe: *JSC.CallFrame) bun.
|
||||
.initOutsideOfBundler(&import_records),
|
||||
) catch |e| {
|
||||
bun.handleErrorReturnTrace(e, @errorReturnTrace());
|
||||
return .undefined;
|
||||
return .jsUndefined();
|
||||
};
|
||||
|
||||
return bun.String.fromBytes(result.code).toJS(globalThis);
|
||||
|
||||
Reference in New Issue
Block a user