Execute flutter doctor on upgrade (#6330)

Ensure that any new/changed doctor checks are evaluated and reported
post upgrade.
This commit is contained in:
Chris Bracken 2016-10-14 12:57:37 -07:00 committed by GitHub
parent 9a136b8722
commit 4a3cd61044

View File

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