progress script fix

This commit is contained in:
Alex Garcia 2024-05-12 00:15:58 -07:00
parent c446cc3963
commit 9ecafe18e0

View file

@ -25,7 +25,7 @@ const width = 60;
console.log(
"▓".repeat(progress * width) +
"░".repeat((1 - progress) * width) +
` (${numTotal - TOTAL}/${TOTAL})`
` (${TOTAL - numTotal}/${TOTAL})`
);
console.log();
console.log(`${progress * 100.0}% complete to sqlite-vec v0`);
console.log(`${(progress * 100.0).toPrecision(2)}% complete to sqlite-vec v0`);