Commit 83f10bd8 authored by Chinmay Garde's avatar Chinmay Garde

Fix typo in the `_xcodeVersionSatisfactory` and rename the check

parent 56586401
...@@ -39,7 +39,7 @@ class IOSWorkflow extends Workflow { ...@@ -39,7 +39,7 @@ class IOSWorkflow extends Workflow {
return ValidationType.missing; return ValidationType.missing;
}; };
Function _xcodeVersionSatisfacotry = () { Function _xcodeVersionSatisfactory = () {
if (xcode.isInstalledAndMeetsVersionCheck) { if (xcode.isInstalledAndMeetsVersionCheck) {
return ValidationType.installed; return ValidationType.installed;
} }
...@@ -71,10 +71,10 @@ class IOSWorkflow extends Workflow { ...@@ -71,10 +71,10 @@ class IOSWorkflow extends Workflow {
iosValidator.addValidator(xcodeValidator); iosValidator.addValidator(xcodeValidator);
xcodeValidator.addValidator(new Validator( xcodeValidator.addValidator(new Validator(
'XCode', 'Version Check',
description: 'Xcode version is at least $kXcodeRequiredVersionMajor.$kXcodeRequiredVersionMinor', description: 'Xcode version is at least $kXcodeRequiredVersionMajor.$kXcodeRequiredVersionMinor',
resolution: 'Download the latest version or update via the Mac App Store', resolution: 'Download the latest version or update via the Mac App Store',
validatorFunction: _xcodeVersionSatisfacotry validatorFunction: _xcodeVersionSatisfactory
)); ));
Validator brewValidator = new Validator( Validator brewValidator = new Validator(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment