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 96d2a16 commit aaf29ddCopy full SHA for aaf29dd
packages/@angular/cli/tasks/init.ts
@@ -101,7 +101,11 @@ export default Task.extend({
101
return linkCli.run();
102
}
103
})
104
- .then(checkYarnOrCNPM)
+ .then(() => {
105
+ if (!commandOptions.skipInstall || commandOptions.linkCli) {
106
+ return checkYarnOrCNPM();
107
+ }
108
+ })
109
.then(() => {
110
this.ui.writeLine(chalk.green(`Project '${packageName}' successfully created.`));
111
});
0 commit comments