Skip to content

Commit 5cd9d5b

Browse files
committed
Upgrade command shouldn’t validate project, fixes #1745
1 parent b07203a commit 5cd9d5b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/flutter_tools/lib/src/commands/upgrade.dart‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ class UpgradeCommand extends FlutterCommand {
1414
final String name = 'upgrade';
1515
final String description = 'Upgrade your copy of Flutter.';
1616

17+
@override
18+
Validator projectRootValidator = () => true;
19+
1720
@override
1821
Future<int> runInProject() async {
1922
printStatus(getVersion(ArtifactStore.flutterRoot));

0 commit comments

Comments
 (0)