fix: progress bar clobbering upgrade script name

v1.18.x
Julian Lam 4 years ago
parent ac75c9a052
commit 2adae87949

@ -170,6 +170,11 @@ Upgrade.process = async function (files, skipCount) {
};
Upgrade.incrementProgress = function (value) {
// Newline on first invocation
if (this.current === 0) {
process.stdout.write('\n');
}
this.current += value || 1;
// Redraw the progress bar every 100 units

Loading…
Cancel
Save