align progress bars
This commit is contained in:
parent
1c71e4a7d1
commit
fe0cbc7aa5
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user