Skip to content

Commit 3f5cc1b

Browse files
committed
Merge branch 'v3'
2 parents bab1f9f + ac4307e commit 3f5cc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/link.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function makeSymlink(source, target) {
1616
try {
1717
fse.symlinkSync(source, target);
1818
} catch (exception) {
19-
if (exception.code === 'EPERM' && process.platform !== 'win32') {
19+
if (exception.code === 'EPERM' && process.platform === 'win32') {
2020
fse.copySync(source, target);
2121
} else {
2222
let linkDest = null;

0 commit comments

Comments
 (0)