removed errant console.log

This commit is contained in:
Danny Coates 2019-03-01 16:26:27 -08:00
parent 1ddfeac81f
commit 3666900f13
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -64,7 +64,6 @@ function bytes(num) {
const exponent = Math.min(Math.floor(Math.log10(num) / 3), UNITS.length - 1); const exponent = Math.min(Math.floor(Math.log10(num) / 3), UNITS.length - 1);
const n = Number(num / Math.pow(1024, exponent)); const n = Number(num / Math.pow(1024, exponent));
const decimalDigits = Math.floor(n) === n ? 0 : 1; const decimalDigits = Math.floor(n) === n ? 0 : 1;
console.log(n, decimalDigits);
let nStr = n.toFixed(decimalDigits); let nStr = n.toFixed(decimalDigits);
if (LOCALIZE_NUMBERS) { if (LOCALIZE_NUMBERS) {
try { try {