aboutsummaryrefslogtreecommitdiff
path: root/node_modules/shelljs/src/ln.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/shelljs/src/ln.js')
-rw-r--r--node_modules/shelljs/src/ln.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/shelljs/src/ln.js b/node_modules/shelljs/src/ln.js
index 7393d9fcd..9b8beb9ec 100644
--- a/node_modules/shelljs/src/ln.js
+++ b/node_modules/shelljs/src/ln.js
@@ -43,7 +43,7 @@ function _ln(options, source, dest) {
}
if (options.symlink) {
- var isWindows = common.platform === 'win';
+ var isWindows = process.platform === 'win32';
var linkType = isWindows ? 'file' : null;
var resolvedSourcePath = isAbsolute ? sourcePath : path.resolve(process.cwd(), path.dirname(dest), source);
if (!fs.existsSync(resolvedSourcePath)) {