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
b4173e20
Commit
b4173e20
authored
Apr 12, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix to showing a progress display for long tasks (#3265)
parent
64a50071
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
logger.dart
packages/flutter_tools/lib/src/base/logger.dart
+2
-2
precache.dart
packages/flutter_tools/lib/src/commands/precache.dart
+1
-1
flutter_command_runner.dart
.../flutter_tools/lib/src/runner/flutter_command_runner.dart
+2
-2
No files found.
packages/flutter_tools/lib/src/base/logger.dart
View file @
b4173e20
...
...
@@ -243,7 +243,7 @@ class _AnsiStatus extends Status {
double
seconds
=
stopwatch
.
elapsedMilliseconds
/
1000.0
;
print
(
'
\
b
\
b
\
b
\
b
${seconds.toStringAsFixed(1)}
s'
);
}
else
{
print
(
'
\
b'
);
print
(
'
\
b
'
);
}
timer
.
cancel
();
...
...
@@ -255,7 +255,7 @@ class _AnsiStatus extends Status {
return
;
live
=
false
;
print
(
'
\
b'
);
print
(
'
\
b
'
);
timer
.
cancel
();
}
}
packages/flutter_tools/lib/src/commands/precache.dart
View file @
b4173e20
...
...
@@ -18,7 +18,7 @@ class PrecacheCommand extends Command {
@override
Future
<
int
>
run
()
async
{
if
(
cache
.
isUpToDate
())
printStatus
(
'Al
l
up-to-date.'
);
printStatus
(
'Al
ready
up-to-date.'
);
else
await
cache
.
updateAll
();
...
...
packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
View file @
b4173e20
...
...
@@ -196,8 +196,8 @@ class FlutterCommandRunner extends CommandRunner {
if
(
globalResults
[
'verbose'
])
context
[
Logger
]
=
new
VerboseLogger
();
if
(
!
globalResults
[
'color'
]
)
logger
.
supportsColor
=
false
;
if
(
globalResults
.
wasParsed
(
'color'
)
)
logger
.
supportsColor
=
globalResults
[
'color'
]
;
// we must set ArtifactStore.flutterRoot early because other features use it
// (e.g. enginePath's initialiser uses it)
...
...
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