diff options
-rw-r--r-- | lib/link.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/link.js b/lib/link.js index e4e47d53e..cb44a6be7 100644 --- a/lib/link.js +++ b/lib/link.js @@ -114,14 +114,13 @@ function linkInstall (pkgs, cb) { if (npm.config.get('dry-run')) return resultPrinter(pkg, pp, target, rp, cb) chain( [ - [npm.commands, 'unbuild', [target]], [function (cb) { log.verbose('link', 'symlinking %s to %s', pp, target) cb() }], [symlink, pp, target], - // do run lifecycle scripts - full build here. - rp && [build, [target]], + // do not run any scripts + rp && [build, [target], npm.config.get('global'), build._noLC, true], [resultPrinter, pkg, pp, target, rp ] ], cb |