Use ios-deploy --version for install check (#7797)

ios-deploy -h/--help returns a non-zero exit code.
This commit is contained in:
Chris Bracken
2017-02-01 16:30:49 -08:00
committed by GitHub
parent 5d2a460fdd
commit 50125ab271

View File

@@ -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';