Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Jul 18, 2024
1 parent 660e050 commit 09ec8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mason_logger/lib/src/progress.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Progress {
void update(String update) {
if (_timer != null) _write(_clearLine);
_message = update;
_onTick(_timer);
if (_stdout.hasTerminal) _onTick(_timer);
}

/// Cancel the progress and remove the written line.
Expand Down

0 comments on commit 09ec8e9

Please sign in to comment.