log: expand progress bar width to 35 (#170)

Otherwise we can't use "linuxstatic" due to progress bar out of range...
This commit is contained in:
Jesse Chan 2021-04-22 23:28:23 +08:00 committed by GitHub
parent 629cc71d26
commit f28cbd6cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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