File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,14 @@ export class Simctl implements ISimctl {
87
87
for ( let line of match [ 0 ] . split ( '\n' ) . slice ( 1 ) ) {
88
88
// a line is something like
89
89
// iPhone 4s (A99FFFC3-8E19-4DCF-B585-7D9D46B4C16E) (Shutdown)
90
+ // iPad Air 2 (9696A8ED-3020-49FC-90D6-DAFD29A0EA8D) (Shutdown)
91
+ // iPad Pro (9.7 inch) (7FF984D4-0755-432D-BE0E-6EB44F0489CB) (Shutdown)
92
+ // iPad Pro (12.9 inch) (F02012C8-6D4D-46FF-90D7-5DF90EF579E8) (Booted)
90
93
// retrieve:
91
94
// iPhone 4s
92
95
// A99FFFC3-8E19-4DCF-B585-7D9D46B4C16E
93
96
// Shutdown
94
- let lineRegex = / ^ ( [ ^ \( ] + ) \ (( [ ^ \) ] + ) \) \( ( [ ^ \) ] + ) \) ( \( ( [ ^ \) ] + ) \) ) * / ;
97
+ let lineRegex = / ^ \s + ( . * ? ) \s + \ (( [ 0 - 9 A - F ] { 8 } (?: - [ 0 - 9 A - F ] { 4 } ) { 3 } - [ 0 - 9 A - F ] { 12 } ) \) \s + \( ( . * ? ) \) ( \s + \( (?: . * ? ) \) ) ? / ;
95
98
let lineMatch = lineRegex . exec ( line ) ;
96
99
if ( lineMatch === null ) {
97
100
errors . fail ( 'Could not match line. ' + line ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ios-sim-portable" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"description" : " " ,
5
5
"main" : " ./lib/ios-sim.js" ,
6
6
"scripts" : {
44
44
"engines" : {
45
45
"node" : " >=4.2.1 <5.0.0 || >=5.1.0 <8.0.0"
46
46
}
47
- }
47
+ }
You can’t perform that action at this time.
0 commit comments