mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
fix(windows): fix node:url pathFromFileURL and fileURLFromPath and file url tests (#8442)
* yay for file urls * swag * oops * merge conf * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -617,7 +617,7 @@ pub const ByteRangeMapping = struct {
|
||||
return .zero;
|
||||
};
|
||||
|
||||
var str = bun.String.create(mutable_str.toOwnedSliceLeaky());
|
||||
var str = bun.String.createUTF8(mutable_str.toOwnedSliceLeaky());
|
||||
defer str.deref();
|
||||
return str.toJS(globalThis);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user