File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,7 @@ export class BuildCommand implements ICommand {
66 private $platformCommandParameter : ICommandParameter ) { }
77
88 execute ( args : string [ ] ) : IFuture < void > {
9- return ( ( ) => {
10- this . $platformService . buildPlatform ( args [ 0 ] ) . wait ( ) ;
11- } ) . future < void > ( ) ( ) ;
9+ return this . $platformService . buildPlatform ( args [ 0 ] ) ;
1210 }
1311
1412 allowedParameters = [ this . $platformCommandParameter ] ;
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ export class PlatformService implements IPlatformService {
165165 public buildPlatform ( platform : string ) : IFuture < void > {
166166 return ( ( ) => {
167167 platform = platform . toLowerCase ( ) ;
168+ this . preparePlatform ( platform ) ;
168169
169170 var platformData = this . $platformsData . getPlatformData ( platform ) ;
170171 platformData . platformProjectService . buildProject ( platformData . projectRoot ) . wait ( ) ;
You can’t perform that action at this time.
0 commit comments