| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d86aca9 commit a94cc27
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -163,7 +163,7 @@ const win32 = { | |||
| 163 | 163 | // Verify that a cwd was found and that it actually points | |
| 164 | 164 | // to our drive. If not, default to the drive's root. | |
| 165 | 165 | if (path === undefined || | |
| 166 | - (StringPrototypeSlice(path, 0, 2).toLowerCase() !== | ||
| 166 | + (StringPrototypeToLowerCase(StringPrototypeSlice(path, 0, 2)) !== | ||
| 167 | 167 | StringPrototypeToLowerCase(resolvedDevice) && | |
| 168 | 168 | StringPrototypeCharCodeAt(path, 2) === CHAR_BACKWARD_SLASH)) { | |
| 169 | 169 | path = `${resolvedDevice}\\`; | |
@@ -1321,7 +1321,7 @@ const posix = { | |||
| 1321 | 1321 | return StringPrototypeSlice(path, startDot, end); | |
| 1322 | 1322 | }, | |
| 1323 | 1323 | ||
| 1324 | - format: _format.bind(null, '/'), | ||
| 1324 | + format: FunctionPrototypeBind(_format, null, '/'), | ||
| 1325 | 1325 | ||
| 1326 | 1326 | parse(path) { | |
| 1327 | 1327 | validateString(path, 'path'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments