Skip to content

🎥 Make videos programmatically with React

refinement

Jonny Burger564e8c85c71e
diff --git a/packages/cli/src/make-progress-bar.ts b/packages/cli/src/make-progress-bar.ts
index 26cd444fea..fa527534e7 100644
--- a/packages/cli/src/make-progress-bar.ts
+++ b/packages/cli/src/make-progress-bar.ts
@@ -8,6 +8,10 @@ export const makeProgressBar = (percentage: number) => {
const base = full.repeat(barsToShow) + (extraBar > 0.5 ? half : '');
if (percentage === 0) {
+ return `${' '.repeat(totalBars + 1)}`;
+ }
+
+ if (percentage > 0 && barsToShow < 1) {
return `â•·${' '.repeat(totalBars)}`;
}