File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
packages/angular/cli/src/commands Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export const RootCommands: Record<
90
90
} ,
91
91
'serve' : {
92
92
factory : ( ) => import ( './serve/cli' ) ,
93
- aliases : [ 's' ] ,
93
+ aliases : [ 'dev' , ' s'] ,
94
94
} ,
95
95
'test' : {
96
96
factory : ( ) => import ( './test/cli' ) ,
@@ -105,10 +105,13 @@ export const RootCommands: Record<
105
105
} ,
106
106
} ;
107
107
108
- export const RootCommandsAliases = Object . values ( RootCommands ) . reduce ( ( prev , current ) => {
109
- current . aliases ?. forEach ( ( alias ) => {
110
- prev [ alias ] = current ;
111
- } ) ;
108
+ export const RootCommandsAliases = Object . values ( RootCommands ) . reduce (
109
+ ( prev , current ) => {
110
+ current . aliases ?. forEach ( ( alias ) => {
111
+ prev [ alias ] = current ;
112
+ } ) ;
112
113
113
- return prev ;
114
- } , { } as Record < string , CommandConfig > ) ;
114
+ return prev ;
115
+ } ,
116
+ { } as Record < string , CommandConfig > ,
117
+ ) ;
You can’t perform that action at this time.
0 commit comments