Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
9492dcc7
Commit
9492dcc7
authored
Nov 07, 2019
by
Afzaal Ahmad Zeeshan
Committed by
Zachary Anderson
Nov 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update create.dart (#43764)
Changed the placements of the operands to make it more readable.
parent
cb614d13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
create.dart
packages/flutter_tools/lib/src/commands/create.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/commands/create.dart
View file @
9492dcc7
...
@@ -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.'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment