mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Execute flutter doctor on upgrade (#6330)
Ensure that any new/changed doctor checks are evaluated and reported post upgrade.
This commit is contained in:
parent
9a136b8722
commit
4a3cd61044
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user