style: change precision of progress bars #37

Merged
Anri merged 1 commit from progress-bar-fix into main 2022-07-25 01:00:16 +02:00

View file

@ -168,6 +168,6 @@ async (locales: Map<string, Map<string, string>>, default_lang: string) => {
} }
}; };
console.log(`${lang} | ${color()}${blocks}\x1b[0m${blank} | ${percentage}%`); console.log(`${lang} | ${color()}${blocks}\x1b[0m${blank} | ${percentage.toPrecision(3)}%`);
}); });
}; };