File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/@angular/cli/commands Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export default class NewCommand extends SchematicCommand {
2727 description : 'Schematics collection to use.' ,
2828 } ,
2929 ] ;
30+ private schematicName = 'ng-new' ;
3031
3132 private initialized = false ;
3233 public initialize ( options : any ) {
@@ -37,10 +38,9 @@ export default class NewCommand extends SchematicCommand {
3738 this . initialized = true ;
3839
3940 const collectionName = this . parseCollectionName ( options ) ;
40- const schematicName = 'application' ;
4141
4242 return this . getOptions ( {
43- schematicName,
43+ schematicName : this . schematicName ,
4444 collectionName,
4545 } )
4646 . then ( ( schematicOptions ) => {
@@ -75,7 +75,7 @@ export default class NewCommand extends SchematicCommand {
7575
7676 return this . runSchematic ( {
7777 collectionName : collectionName ,
78- schematicName : 'ng-new' ,
78+ schematicName : this . schematicName ,
7979 schematicOptions : options ,
8080 debug : options . debug ,
8181 dryRun : options . dryRun ,
You can’t perform that action at this time.
0 commit comments