@@ -30,20 +30,20 @@ export class RunCommandBase implements ICommand {
3030 private $migrateController : IMigrateController ,
3131 private $options : IOptions ,
3232 private $projectData : IProjectData ,
33- private $keyCommandHelper : IKeyCommandHelper
33+ private $keyCommandHelper : IKeyCommandHelper ,
3434 ) { }
3535
3636 public allowedParameters : ICommandParameter [ ] = [ ] ;
3737 public async execute ( args : string [ ] ) : Promise < void > {
3838 await this . $liveSyncCommandHelper . executeCommandLiveSync (
3939 this . platform ,
40- this . liveSyncCommandHelperAdditionalOptions
40+ this . liveSyncCommandHelperAdditionalOptions ,
4141 ) ;
4242
4343 if ( process . env . NS_IS_INTERACTIVE ) {
4444 this . $keyCommandHelper . attachKeyCommands (
4545 this . platform as IKeyCommandPlatform ,
46- "run"
46+ "run" ,
4747 ) ;
4848 }
4949 }
@@ -64,7 +64,7 @@ export class RunCommandBase implements ICommand {
6464 : [
6565 this . $devicePlatformsConstants . Android ,
6666 this . $devicePlatformsConstants . iOS ,
67- ] ;
67+ ] ;
6868
6969 if ( ! this . $options . force ) {
7070 await this . $migrateController . validate ( {
@@ -100,7 +100,7 @@ export class RunIosCommand implements ICommand {
100100 protected $injector : IInjector ,
101101 protected $options : IOptions ,
102102 protected $platformValidationService : IPlatformValidationService ,
103- protected $projectDataService : IProjectDataService
103+ protected $projectDataService : IProjectDataService ,
104104 ) { }
105105
106106 public async execute ( args : string [ ] ) : Promise < void > {
@@ -113,11 +113,11 @@ export class RunIosCommand implements ICommand {
113113 if (
114114 ! this . $platformValidationService . isPlatformSupportedForOS (
115115 this . platform ,
116- projectData
116+ projectData ,
117117 )
118118 ) {
119119 this . $errors . fail (
120- `Applications for platform ${ this . platform } can not be built on this OS`
120+ `Applications for platform ${ this . platform } can not be built on this OS` ,
121121 ) ;
122122 }
123123
@@ -127,7 +127,7 @@ export class RunIosCommand implements ICommand {
127127 this . $options . provision ,
128128 this . $options . teamId ,
129129 projectData ,
130- this . platform . toLowerCase ( )
130+ this . platform . toLowerCase ( ) ,
131131 ) ) ;
132132 return result ;
133133 }
@@ -154,7 +154,7 @@ export class RunAndroidCommand implements ICommand {
154154 private $injector : IInjector ,
155155 private $options : IOptions ,
156156 private $platformValidationService : IPlatformValidationService ,
157- private $projectData : IProjectData
157+ private $projectData : IProjectData ,
158158 ) { }
159159
160160 public async execute ( args : string [ ] ) : Promise < void > {
@@ -167,11 +167,11 @@ export class RunAndroidCommand implements ICommand {
167167 if (
168168 ! this . $platformValidationService . isPlatformSupportedForOS (
169169 this . $devicePlatformsConstants . Android ,
170- this . $projectData
170+ this . $projectData ,
171171 )
172172 ) {
173173 this . $errors . fail (
174- `Applications for platform ${ this . $devicePlatformsConstants . Android } can not be built on this OS`
174+ `Applications for platform ${ this . $devicePlatformsConstants . Android } can not be built on this OS` ,
175175 ) ;
176176 }
177177
@@ -190,7 +190,7 @@ export class RunAndroidCommand implements ICommand {
190190 this . $options . provision ,
191191 this . $options . teamId ,
192192 this . $projectData ,
193- this . $devicePlatformsConstants . Android . toLowerCase ( )
193+ this . $devicePlatformsConstants . Android . toLowerCase ( ) ,
194194 ) ;
195195 }
196196}
@@ -208,15 +208,15 @@ export class RunVisionOSCommand extends RunIosCommand {
208208 protected $injector : IInjector ,
209209 protected $options : IOptions ,
210210 protected $platformValidationService : IPlatformValidationService ,
211- protected $projectDataService : IProjectDataService
211+ protected $projectDataService : IProjectDataService ,
212212 ) {
213213 super (
214214 $devicePlatformsConstants ,
215215 $errors ,
216216 $injector ,
217217 $options ,
218218 $platformValidationService ,
219- $projectDataService
219+ $projectDataService ,
220220 ) ;
221221 }
222222}
@@ -227,9 +227,9 @@ injector.registerCommand("run|visionos", RunVisionOSCommand);
227227/**
228228 * Runs the Mac Catalyst build of the app on this machine.
229229 */
230- export class RunMacOSCommand extends RunIosCommand {
230+ export class RunCatalystCommand extends RunIosCommand {
231231 public get platform ( ) : string {
232- return this . $devicePlatformsConstants . macOS ;
232+ return this . $devicePlatformsConstants . Catalyst ;
233233 }
234234
235235 constructor (
@@ -251,4 +251,4 @@ export class RunMacOSCommand extends RunIosCommand {
251251 }
252252}
253253
254- injector . registerCommand ( "run|macos " , RunMacOSCommand ) ;
254+ injector . registerCommand ( "run|catalyst " , RunCatalystCommand ) ;
0 commit comments