Use ios-deploy --version for install check (#7797)
ios-deploy -h/--help returns a non-zero exit code.
This commit is contained in:
@@ -32,7 +32,7 @@ class IOSWorkflow extends DoctorValidator implements Workflow {
|
||||
|
||||
bool get hasIDeviceId => exitsHappy(<String>['idevice_id', '-h']);
|
||||
|
||||
bool get hasIosDeploy => exitsHappy(<String>['ios-deploy', '-h']);
|
||||
bool get hasIosDeploy => exitsHappy(<String>['ios-deploy', '--version']);
|
||||
|
||||
String get iosDeployMinimumVersion => '1.9.0';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user