mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
safety: a lot more exception checker progress (#20817)
This commit is contained in:
@@ -1522,10 +1522,10 @@ pub fn transpileSourceCode(
|
||||
defer buf.deinit();
|
||||
var writer = buf.writer();
|
||||
JSC.API.Bun.getPublicPath(specifier, jsc_vm.origin, @TypeOf(&writer), &writer);
|
||||
break :brk bun.String.createUTF8ForJS(globalObject.?, buf.slice());
|
||||
break :brk try bun.String.createUTF8ForJS(globalObject.?, buf.slice());
|
||||
}
|
||||
|
||||
break :brk bun.String.createUTF8ForJS(globalObject.?, path.text);
|
||||
break :brk try bun.String.createUTF8ForJS(globalObject.?, path.text);
|
||||
};
|
||||
|
||||
return ResolvedSource{
|
||||
|
||||
Reference in New Issue
Block a user