File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class Options extends commonOptionsLibPath.OptionsBase {
19
19
emulator : { type : OptionType . Boolean } ,
20
20
symlink : { type : OptionType . Boolean } ,
21
21
forDevice : { type : OptionType . Boolean } ,
22
- client : { type : OptionType . Boolean } ,
22
+ client : { type : OptionType . Boolean , default : true } ,
23
23
production : { type : OptionType . Boolean } ,
24
24
keyStorePath : { type : OptionType . String } ,
25
25
keyStorePassword : { type : OptionType . String , } ,
Original file line number Diff line number Diff line change @@ -193,13 +193,12 @@ class IOSDebugService implements IDebugService {
193
193
}
194
194
195
195
public executeOpenDebuggerClient ( ) : IFuture < void > {
196
- if ( this . $options . client === false ) {
197
- // NOTE: The --no-client has been specified. Otherwise its either false or undefined.
196
+ if ( this . $options . client ) {
197
+ return this . openDebuggingClient ( ) ;
198
+ } else {
198
199
return ( ( ) => {
199
200
this . $logger . info ( "Supressing debugging client." ) ;
200
201
} ) . future < void > ( ) ( ) ;
201
- } else {
202
- return this . openDebuggingClient ( ) ;
203
202
}
204
203
}
205
204
You can’t perform that action at this time.
0 commit comments