From 4e89dc6d3105e6011203d90caff4f0b0d1380976 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Sat, 30 Jan 2016 03:41:00 +0800 Subject: [PATCH] Fix symlinking --- lib/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install.js b/lib/install.js index 6a430a5386..fc89c17442 100644 --- a/lib/install.js +++ b/lib/install.js @@ -193,7 +193,7 @@ function symlinkToModules (target, pkg, modules) { if (pkg.scope) { debug('make scope dir', pkg.scope) return mkdirp(join(modules, pkg.scope)) - .then(relSymlink(target, join(modules, pkg.name))) + .then(_ => relSymlink(target, join(modules, pkg.name))) } return relSymlink(target, join(modules, pkg.name))