We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61817f7 commit 9dd33f8Copy full SHA for 9dd33f8
packages/@angular/cli/commands/generate.ts
@@ -167,7 +167,8 @@ export default Command.extend({
167
ui: this.ui,
168
project: this.project
169
});
170
- const collectionName = this.getCollectionName(rawArgs);
+ const collectionName = commandOptions.collection ||
171
+ CliConfig.getValue('defaults.schematics.collection');
172
173
if (collectionName === '@schematics/angular' && schematicName === 'interface' && rawArgs[2]) {
174
commandOptions.type = rawArgs[2];
0 commit comments