Execute flutter doctor on upgrade (#6330)
Ensure that any new/changed doctor checks are evaluated and reported post upgrade.
This commit is contained in:
@@ -79,6 +79,11 @@ class UpgradeCommand extends FlutterCommand {
|
||||
return code;
|
||||
}
|
||||
|
||||
// Run a doctor check in case system requirements have changed.
|
||||
printStatus('');
|
||||
printStatus('Running flutter doctor...');
|
||||
await doctor.diagnose();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user