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 {
8484 this . printHelpOptions ( this . options ) ;
8585 } else {
8686 this . printHelpUsage ( 'generate' , this . options ) ;
87- const engineHost = getEngineHost ( ) ;
87+ const engineHost = this . getEngineHost ( ) ;
8888 const [ collectionName ] = this . parseSchematicInfo ( options ) ;
8989 const collection = this . getCollection ( collectionName ) ;
90- const schematicNames : string [ ] = engineHost . listSchematics ( collection ) ;
90+ const schematicNames : string [ ] = engineHost . listSchematicNames ( collection . description ) ;
9191 this . logger . info ( 'Available schematics:' ) ;
9292 schematicNames . forEach ( schematicName => {
9393 this . logger . info ( ` ${ schematicName } ` ) ;
You can’t perform that action at this time.
0 commit comments