Commit 5cd9d5b2 authored by Collin Jackson's avatar Collin Jackson

Upgrade command shouldn’t validate project, fixes #1745

parent b07203a8
...@@ -14,6 +14,9 @@ class UpgradeCommand extends FlutterCommand { ...@@ -14,6 +14,9 @@ class UpgradeCommand extends FlutterCommand {
final String name = 'upgrade'; final String name = 'upgrade';
final String description = 'Upgrade your copy of Flutter.'; final String description = 'Upgrade your copy of Flutter.';
@override
Validator projectRootValidator = () => true;
@override @override
Future<int> runInProject() async { Future<int> runInProject() async {
printStatus(getVersion(ArtifactStore.flutterRoot)); 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