diff options
Diffstat (limited to 'deps/npm/lib/commands/install.js')
-rw-r--r-- | deps/npm/lib/commands/install.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/commands/install.js b/deps/npm/lib/commands/install.js index d1f6d1481d..4cda364483 100644 --- a/deps/npm/lib/commands/install.js +++ b/deps/npm/lib/commands/install.js @@ -106,7 +106,7 @@ class Install extends ArboristWorkspaceCmd { // the /path/to/node_modules/.. const globalTop = resolve(this.npm.globalDir, '..') const ignoreScripts = this.npm.config.get('ignore-scripts') - const isGlobalInstall = this.npm.config.get('global') + const isGlobalInstall = this.npm.global const where = isGlobalInstall ? globalTop : this.npm.prefix const forced = this.npm.config.get('force') const scriptShell = this.npm.config.get('script-shell') || undefined |