File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/angular/cli/commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,10 @@ export class GenerateCommand extends SchematicCommand {
84
84
this . printHelpOptions ( this . options ) ;
85
85
} else {
86
86
this . printHelpUsage ( 'generate' , this . options ) ;
87
- const engineHost = getEngineHost ( ) ;
87
+ const engineHost = this . getEngineHost ( ) ;
88
88
const [ collectionName ] = this . parseSchematicInfo ( options ) ;
89
89
const collection = this . getCollection ( collectionName ) ;
90
- const schematicNames : string [ ] = engineHost . listSchematics ( collection ) ;
90
+ const schematicNames : string [ ] = engineHost . listSchematicNames ( collection . description ) ;
91
91
this . logger . info ( 'Available schematics:' ) ;
92
92
schematicNames . forEach ( schematicName => {
93
93
this . logger . info ( ` ${ schematicName } ` ) ;
You can’t perform that action at this time.
0 commit comments