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
e9281c4a
Commit
e9281c4a
authored
May 09, 2018
by
Danny Tuppeny
Committed by
Danny Tuppeny
May 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting
parent
72d0e0b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
emulators.dart
packages/flutter_tools/lib/src/commands/emulators.dart
+4
-4
No files found.
packages/flutter_tools/lib/src/commands/emulators.dart
View file @
e9281c4a
...
@@ -32,8 +32,9 @@ class EmulatorsCommand extends FlutterCommand {
...
@@ -32,8 +32,9 @@ class EmulatorsCommand extends FlutterCommand {
if
(
doctor
.
workflows
.
every
((
Workflow
w
)
=>
!
w
.
canListEmulators
))
{
if
(
doctor
.
workflows
.
every
((
Workflow
w
)
=>
!
w
.
canListEmulators
))
{
throwToolExit
(
throwToolExit
(
'Unable to find any emulator sources. Please ensure you have some
\n
'
'Unable to find any emulator sources. Please ensure you have some
\n
'
'Android AVD images '
+
(
platform
.
isMacOS
?
'or an iOS Simulator '
:
''
)
'Android AVD images '
+
+
'available.'
,
(
platform
.
isMacOS
?
'or an iOS Simulator '
:
''
)
+
'available.'
,
exitCode:
1
);
exitCode:
1
);
}
}
...
@@ -65,8 +66,7 @@ class EmulatorsCommand extends FlutterCommand {
...
@@ -65,8 +66,7 @@ class EmulatorsCommand extends FlutterCommand {
}
}
Future
<
Null
>
_listEmulators
(
String
searchText
)
async
{
Future
<
Null
>
_listEmulators
(
String
searchText
)
async
{
final
List
<
Emulator
>
emulators
=
final
List
<
Emulator
>
emulators
=
searchText
==
null
searchText
==
null
?
await
emulatorManager
.
getAllAvailableEmulators
()
?
await
emulatorManager
.
getAllAvailableEmulators
()
:
await
emulatorManager
.
getEmulatorsMatching
(
searchText
);
:
await
emulatorManager
.
getEmulatorsMatching
(
searchText
);
...
...
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