Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

Commit

Permalink
fix: do not use pnpm automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Dec 2, 2018
1 parent 6b291b5 commit 676a7f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/installPackages.js
Expand Up @@ -15,10 +15,10 @@ function getNpmClient() {
return cachedNpmClient
}

if (spawn.sync('pnpm', ['--version']).status === 0) {
cachedNpmClient = 'pnpm'
} else if (spawn.sync('yarn', ['--version']).status === 0) {
if (spawn.sync('yarn', ['--version']).status === 0) {
cachedNpmClient = 'yarn'
} else {
cachedNpmClient = 'npm'
}

return cachedNpmClient
Expand Down

0 comments on commit 676a7f9

Please sign in to comment.