From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/shelljs/src/ln.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/shelljs/src/ln.js') 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)) { -- cgit v1.2.3