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:
dave caruso
2024-01-24 01:19:47 -08:00
committed by GitHub
parent 8544f8ae68
commit eeb10f3f7d
35 changed files with 257 additions and 179 deletions

View File

@@ -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);
}