| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1b76377 commit adb93f1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -267,7 +267,8 @@ function preprocessSymlinkDestination(path, type, linkPath) { | |||
| 267 | 267 | if (!isWindows) { | |
| 268 | 268 | // No preprocessing is needed on Unix. | |
| 269 | 269 | return path; | |
| 270 | - } else if (type === 'junction') { | ||
| 270 | + } | ||
| 271 | + if (type === 'junction') { | ||
| 271 | 272 | // Junctions paths need to be absolute and \\?\-prefixed. | |
| 272 | 273 | // A relative target is relative to the link's parent directory. | |
| 273 | 274 | path = pathModule.resolve(linkPath, '..', path); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments