We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ca863d commit 9ea681cCopy full SHA for 9ea681c
src/generators/app/index.js
@@ -610,7 +610,7 @@ export class Generator extends Base {
610
if (process.platform === 'win32') {
611
yarnCheckCommand = 'yarn --version >nul 2>&1';
612
} else {
613
- yarnCheckCommand = 'type yarn &> /dev/null';
+ yarnCheckCommand = 'type yarn >/dev/null 2>&1';
614
}
615
exec(yarnCheckCommand, (error, stdout, stderr) => {
616
return this.spawnCommand((!error) ? 'yarn' : 'npm', ['install']);
0 commit comments