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 168c963 commit 34274bfCopy full SHA for 34274bf
packages/@angular/cli/tasks/init.ts
@@ -88,13 +88,13 @@ export default Task.extend({
88
89
return installBlueprint.run(blueprintOpts)
90
.then(function () {
91
- if (commandOptions.skipGit === false) {
92
- return gitInit.run(commandOptions, rawArgs);
+ if (!commandOptions.skipInstall) {
+ return npmInstall.run();
93
}
94
})
95
96
- if (!commandOptions.skipInstall) {
97
- return npmInstall.run();
+ if (commandOptions.skipGit === false) {
+ return gitInit.run(commandOptions, rawArgs);
98
99
100
0 commit comments