From 9492dcc7cc5ec9fb5b956f3f3bb9469c12d0ddbe Mon Sep 17 00:00:00 2001 From: Afzaal Ahmad Zeeshan Date: Thu, 7 Nov 2019 23:17:03 +0500 Subject: [PATCH] Update create.dart (#43764) Changed the placements of the operands to make it more readable. --- packages/flutter_tools/lib/src/commands/create.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/commands/create.dart b/packages/flutter_tools/lib/src/commands/create.dart index 808456c2bf..835f5fa76d 100644 --- a/packages/flutter_tools/lib/src/commands/create.dart +++ b/packages/flutter_tools/lib/src/commands/create.dart @@ -363,7 +363,7 @@ class CreateCommand extends FlutterCommand { final Set existingOrganizations = await project.organizationNames; if (existingOrganizations.length == 1) { organization = existingOrganizations.first; - } else if (1 < existingOrganizations.length) { + } else if (existingOrganizations.length > 1) { throwToolExit( 'Ambiguous organization in existing files: $existingOrganizations. ' 'The --org command line argument must be specified to recreate project.'