symlink-dir
Advanced tools
Comparing version
@@ -95,3 +95,3 @@ "use strict"; | ||
} | ||
if (target === linkString) { | ||
if (pathLib.relative(target, linkString) === '') { | ||
return { reused: true }; | ||
@@ -190,3 +190,3 @@ } | ||
} | ||
if (target === linkString) { | ||
if (pathLib.relative(target, linkString) === '') { | ||
return { reused: true }; | ||
@@ -193,0 +193,0 @@ } |
{ | ||
"name": "symlink-dir", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"description": "Cross-platform directory symlinking", | ||
@@ -46,3 +46,3 @@ "main": "dist/index.js", | ||
"better-path-resolve": "^1.0.0", | ||
"rename-overwrite": "^6.0.0" | ||
"rename-overwrite": "^6.0.2" | ||
}, | ||
@@ -49,0 +49,0 @@ "mos": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
19831
0.58%Updated