We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45840e commit ca9e07cCopy full SHA for ca9e07c
lib/console/init.ts
@@ -52,10 +52,10 @@ async function initConsole(this: Context, args: InitArgs) {
52
log.info('Install dependencies');
53
54
let npmCommand = 'npm';
55
- if (commandExistsSync('yarn')) {
56
- npmCommand = 'yarn';
57
- } else if (commandExistsSync('pnpm')) {
+ if (commandExistsSync('pnpm')) {
58
npmCommand = 'pnpm';
+ } else if (commandExistsSync('yarn')) {
+ npmCommand = 'yarn';
59
}
60
61
try {
0 commit comments