align progress bars

This commit is contained in:
Igor Klopov 2017-04-27 18:24:18 -07:00
parent 1c71e4a7d1
commit fe0cbc7aa5

View File

@ -38,6 +38,7 @@ class Log {
enableProgress (text) {
assert(!this.bar);
text = text + ' '.repeat(28 - text.length);
this.bar = new Progress(` ${text} [:bar] :percent`, {
stream: process.stdout,
width: 20,