Commit 96405fb4 authored by Collin Jackson's avatar Collin Jackson

Merge pull request #1756 from collinjackson/upgrade_anywhere

Upgrade command shouldn’t validate project, fixes #1745
parents 2c993549 5cd9d5b2
......@@ -14,6 +14,9 @@ class UpgradeCommand extends FlutterCommand {
final String name = 'upgrade';
final String description = 'Upgrade your copy of Flutter.';
@override
Validator projectRootValidator = () => true;
@override
Future<int> runInProject() async {
printStatus(getVersion(ArtifactStore.flutterRoot));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment