Skip to content

Commit

Permalink
fixup! update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Sep 9, 2021
1 parent af0c1c5 commit c837ab0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/install.js
Expand Up @@ -132,8 +132,7 @@ class Install extends ArboristWorkspaceCmd {
const isDev = this.npm.config.get('dev')
const scriptShell = this.npm.config.get('script-shell') || undefined

// be very strict about engines when trying to update npm itself, and give
// a message that's more customized than engine-strict would give
// be very strict about engines when trying to update npm itself
const npmInstall = args.find(arg => arg.startsWith('npm@') || arg === 'npm')
if (isGlobalInstall && npmInstall) {
const npmManifest = await pacote.manifest(npmInstall)
Expand Down

0 comments on commit c837ab0

Please sign in to comment.