Add current version to the upgrade message of the Flutter tool (#68421)

This commit is contained in:
Masaaki Kakimoto(柿本匡章)
2020-11-24 05:08:53 +09:00
committed by GitHub
parent bcdee0ac74
commit accedc6794
2 changed files with 34 additions and 0 deletions

View File

@@ -152,6 +152,7 @@ class UpgradeCommandRunner {
);
}
recordState(flutterVersion);
globals.printStatus('Upgrading Flutter to ${upstreamVersion.frameworkVersion} from ${flutterVersion.frameworkVersion} in $workingDirectory...');
await attemptReset(upstreamVersion.frameworkRevision);
if (!testFlow) {
await flutterUpgradeContinue();