Skip to content

Commit

Permalink
Added spacing to progress writers output
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Dec 21, 2024
1 parent d03ee92 commit b7f082c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/src/utils/ProgressWriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class ProgressWriter {
const barFill = this.barFillChar.repeat(filledChars);
const barEmptySpace = this.barEmptyChar.repeat(emptyChars);

const progressBar = `-> ${this.count} / ${this.total} [${barFill}${barEmptySpace}] ${percent}%`;
const progressBar = `-> ${this.count} / ${this.total} [${barFill}${barEmptySpace}] ${percent}% `;

readline.cursorTo(process.stdout, 0, null);
process.stdout.write(progressBar);
Expand Down

0 comments on commit b7f082c

Please sign in to comment.