mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix typo in the _xcodeVersionSatisfactory and rename the check
This commit is contained in:
parent
5658640128
commit
83f10bd8ae
@ -39,7 +39,7 @@ class IOSWorkflow extends Workflow {
|
||||
return ValidationType.missing;
|
||||
};
|
||||
|
||||
Function _xcodeVersionSatisfacotry = () {
|
||||
Function _xcodeVersionSatisfactory = () {
|
||||
if (xcode.isInstalledAndMeetsVersionCheck) {
|
||||
return ValidationType.installed;
|
||||
}
|
||||
@ -71,10 +71,10 @@ class IOSWorkflow extends Workflow {
|
||||
iosValidator.addValidator(xcodeValidator);
|
||||
|
||||
xcodeValidator.addValidator(new Validator(
|
||||
'XCode',
|
||||
'Version Check',
|
||||
description: 'Xcode version is at least $kXcodeRequiredVersionMajor.$kXcodeRequiredVersionMinor',
|
||||
resolution: 'Download the latest version or update via the Mac App Store',
|
||||
validatorFunction: _xcodeVersionSatisfacotry
|
||||
validatorFunction: _xcodeVersionSatisfactory
|
||||
));
|
||||
|
||||
Validator brewValidator = new Validator(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user