We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 006c7b7 commit e2f531fCopy full SHA for e2f531f
lib/path.js
@@ -178,7 +178,7 @@ const win32 = {
178
// Verify that a cwd was found and that it actually points
179
// to our drive. If not, default to the drive's root.
180
if (path === undefined ||
181
- (StringPrototypeSlice(path, 0, 2).toLowerCase() !==
+ (StringPrototypeToLowerCase(StringPrototypeSlice(path, 0, 2)) !==
182
StringPrototypeToLowerCase(resolvedDevice) &&
183
StringPrototypeCharCodeAt(path, 2) === CHAR_BACKWARD_SLASH)) {
184
path = `${resolvedDevice}\\`;
@@ -1410,7 +1410,7 @@ const posix = {
1410
return StringPrototypeSlice(path, startDot, end);
1411
},
1412
1413
- format: _format.bind(null, '/'),
+ format: FunctionPrototypeBind(_format, null, '/'),
1414
1415
/**
1416
* @param {string} path
0 commit comments