Update create.dart (#43764)

Changed the placements of the operands to make it more readable.
This commit is contained in:
Afzaal Ahmad Zeeshan
2019-11-07 23:17:03 +05:00
committed by Zachary Anderson
parent cb614d1339
commit 9492dcc7cc

View File

@@ -363,7 +363,7 @@ class CreateCommand extends FlutterCommand {
final Set<String> 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.'