We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bab1f9f + ac4307e commit 3f5cc1bCopy full SHA for 3f5cc1b
lib/link.js
@@ -16,7 +16,7 @@ function makeSymlink(source, target) {
16
try {
17
fse.symlinkSync(source, target);
18
} catch (exception) {
19
- if (exception.code === 'EPERM' && process.platform !== 'win32') {
+ if (exception.code === 'EPERM' && process.platform === 'win32') {
20
fse.copySync(source, target);
21
} else {
22
let linkDest = null;
0 commit comments