Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: sdk/lib/_internal/pub/lib/src/progress.dart

Issue 344413004: Support pub --with-prejudice. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/log.dart ('k') | sdk/lib/_internal/pub/lib/src/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/progress.dart
diff --git a/sdk/lib/_internal/pub/lib/src/progress.dart b/sdk/lib/_internal/pub/lib/src/progress.dart
index ad1ceb2582e54647ace864deca5fef59f5c76e93..6c0ffdcf2f2dc3d8330991cf503082ad49702692 100644
--- a/sdk/lib/_internal/pub/lib/src/progress.dart
+++ b/sdk/lib/_internal/pub/lib/src/progress.dart
@@ -81,14 +81,14 @@ class Progress {
// Print a final message without a time indicator so that we don't leave a
// misleading half-complete time indicator on the console.
- stdout.writeln("\r$_message...");
+ stdout.writeln(log.format("\r$_message..."));
_timer.cancel();
_timer = null;
}
/// Refreshes the progress line.
void _update() {
- stdout.write("\r$_message... ");
+ stdout.write(log.format("\r$_message... "));
// Show the time only once it gets noticeably long.
if (_stopwatch.elapsed.inSeconds > 0) {
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/log.dart ('k') | sdk/lib/_internal/pub/lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698