style: change precision of progress bars (#37)

Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/37
This commit is contained in:
Anri 2022-07-25 01:00:16 +02:00
parent 1ece0ecb16
commit ab20221754

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)}%`);
}); });
}; };