Commit 9492dcc7 authored by Afzaal Ahmad Zeeshan's avatar Afzaal Ahmad Zeeshan Committed by Zachary Anderson

Update create.dart (#43764)

Changed the placements of the operands to make it more readable.
parent cb614d13
...@@ -363,7 +363,7 @@ class CreateCommand extends FlutterCommand { ...@@ -363,7 +363,7 @@ class CreateCommand extends FlutterCommand {
final Set<String> existingOrganizations = await project.organizationNames; final Set<String> existingOrganizations = await project.organizationNames;
if (existingOrganizations.length == 1) { if (existingOrganizations.length == 1) {
organization = existingOrganizations.first; organization = existingOrganizations.first;
} else if (1 < existingOrganizations.length) { } else if (existingOrganizations.length > 1) {
throwToolExit( throwToolExit(
'Ambiguous organization in existing files: $existingOrganizations. ' 'Ambiguous organization in existing files: $existingOrganizations. '
'The --org command line argument must be specified to recreate project.' 'The --org command line argument must be specified to recreate project.'
......
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