safety: a lot more exception checker progress (#20817)

This commit is contained in:
Meghan Denny
2025-07-10 14:34:51 -08:00
committed by GitHub
parent c6bce38ead
commit 6c5b863530
107 changed files with 967 additions and 2209 deletions

View File

@@ -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{