Minor formatting fix in license script (flutter/engine#4381)

Fixes an errrant tab and unnecessary braces.
This commit is contained in:
Chris Bracken 2017-11-21 15:34:13 -08:00 committed by GitHub
parent 353f9063f4
commit 2aad4c763e

View File

@ -2343,9 +2343,8 @@ class Progress {
_lastUpdate ??= new Stopwatch();
final String line = toString();
system.stderr.write('\r$line');
if (_lastLength > line.length) {
system.stderr.write(' ' * (_lastLength - line.length));
}
if (_lastLength > line.length)
system.stderr.write(' ' * (_lastLength - line.length));
_lastLength = line.length;
_lastUpdate.reset();
_lastUpdate.start();