mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
fix(node:path): toNamespacedPath bugfix (#11406)
This commit is contained in:
@@ -4766,7 +4766,7 @@ pub const Path = struct {
|
||||
buf[3] = CHAR_BACKWARD_SLASH;
|
||||
return MaybeSlice(T){ .result = buf[0..bufSize] };
|
||||
}
|
||||
return MaybeSlice(T){ .result = path };
|
||||
return MaybeSlice(T){ .result = resolvedPath };
|
||||
}
|
||||
|
||||
pub inline fn toNamespacedPathWindowsJS_T(comptime T: type, globalObject: *JSC.JSGlobalObject, path: []const T, buf: []T, buf2: []T) JSC.JSValue {
|
||||
|
||||
Reference in New Issue
Block a user