File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ interface ISimulator extends INameGetter {
60
60
}
61
61
62
62
interface INameGetter {
63
- getSimulatorName ( deviceId : string ) : string ;
63
+ getSimulatorName ( deviceName ? : string ) : string ;
64
64
}
65
65
66
66
interface IApplication {
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ export abstract class IPhoneSimulatorNameGetter implements INameGetter {
7
7
8
8
public defaultDeviceIdentifier : string ;
9
9
10
- public getSimulatorName ( ) : string {
10
+ public getSimulatorName ( deviceName ?: string ) : string {
11
11
if ( ! this . _simulatorName ) {
12
- this . _simulatorName = options . device || this . defaultDeviceIdentifier ;
12
+ this . _simulatorName = options . device || deviceName || this . defaultDeviceIdentifier ;
13
13
}
14
14
15
15
return this . _simulatorName ;
You can’t perform that action at this time.
0 commit comments