File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -97,11 +97,14 @@ export class Simctl implements ISimctl {
97
97
for ( let line of match [ 0 ] . split ( '\n' ) . slice ( 1 ) ) {
98
98
// a line is something like
99
99
// iPhone 4s (A99FFFC3-8E19-4DCF-B585-7D9D46B4C16E) (Shutdown)
100
+ // iPad Air 2 (9696A8ED-3020-49FC-90D6-DAFD29A0EA8D) (Shutdown)
101
+ // iPad Pro (9.7 inch) (7FF984D4-0755-432D-BE0E-6EB44F0489CB) (Shutdown)
102
+ // iPad Pro (12.9 inch) (F02012C8-6D4D-46FF-90D7-5DF90EF579E8) (Booted)
100
103
// retrieve:
101
104
// iPhone 4s
102
105
// A99FFFC3-8E19-4DCF-B585-7D9D46B4C16E
103
106
// Shutdown
104
- let lineRegex = / ^ ( [ ^ \( ] + ) \ (( [ ^ \) ] + ) \) \( ( [ ^ \) ] + ) \) ( \( ( [ ^ \) ] + ) \) ) * / ;
107
+ let lineRegex = / ^ \s + ( . * ? ) \s + \ (( [ 0 - 9 A - F ] { 8 } (?: - [ 0 - 9 A - F ] { 4 } ) { 3 } - [ 0 - 9 A - F ] { 12 } ) \) \s + \( ( . * ? ) \) ( \s + \( (?: . * ? ) \) ) ? / ;
105
108
let lineMatch = lineRegex . exec ( line ) ;
106
109
if ( lineMatch === null ) {
107
110
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" : " 1.6.1 " ,
3
+ "version" : " 1.6.2 " ,
4
4
"description" : " " ,
5
5
"main" : " ./lib/ios-sim.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments