| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -647,7 +647,7 @@ const win32 = { | |||
| 647 | 647 | return `\\\\?\\${resolvedPath}`; | |
| 648 | 648 | } | |
| 649 | 649 | ||
| 650 | - return path; | ||
| 650 | + return resolvedPath; | ||
| 651 | 651 | }, | |
| 652 | 652 | ||
| 653 | 653 | /** | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -79,7 +79,8 @@ assert.strictEqual(path.win32.toNamespacedPath('\\\\foo\\bar'), | |||
| 79 | 79 | '\\\\?\\UNC\\foo\\bar\\'); | |
| 80 | 80 | assert.strictEqual(path.win32.toNamespacedPath('//foo//bar'), | |
| 81 | 81 | '\\\\?\\UNC\\foo\\bar\\'); | |
| 82 | - assert.strictEqual(path.win32.toNamespacedPath('\\\\?\\foo'), '\\\\?\\foo'); | ||
| 82 | + assert.strictEqual(path.win32.toNamespacedPath('\\\\?\\foo'), '\\\\?\\foo\\'); | ||
| 83 | + assert.strictEqual(path.win32.toNamespacedPath('\\\\?\\c:\\Windows/System'), '\\\\?\\c:\\Windows\\System'); | ||
| 83 | 84 | assert.strictEqual(path.win32.toNamespacedPath(null), null); | |
| 84 | 85 | assert.strictEqual(path.win32.toNamespacedPath(true), true); | |
| 85 | 86 | assert.strictEqual(path.win32.toNamespacedPath(1), 1); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments