Skip to content

Commit 0f7ccb3

Browse files
committed
feat: include platform in matched device
1 parent 5f9a923 commit 0f7ccb3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/declarations.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ interface IDevice {
3535
runtimeVersion: string;
3636
state?: string;
3737
rawDevice?: any; // NodObjC wrapper to device
38+
platform: string;
3839
}
3940

4041
interface ISkipErrorComposition {
@@ -103,4 +104,5 @@ interface IOptions {
103104
sdkVersion?: string;
104105
sdk?: string;
105106
device?: string;
107+
platform?: string;
106108
}

lib/simctl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export class Simctl implements ISimctl {
134134
fullId: "com.apple.CoreSimulator.SimDeviceType." + lineMatch[1],
135135
runtimeVersion: sdk,
136136
state: lineMatch[3],
137+
platform: match[1],
137138
});
138139
}
139140
}

0 commit comments

Comments
 (0)