Skip to content

🎥 Make videos programmatically with React

fix indentation

Jonny Burger332458b82232
diff --git a/packages/cli/src/progress-bar.ts b/packages/cli/src/progress-bar.ts
index 4b704859dc..b405718f0f 100644
--- a/packages/cli/src/progress-bar.ts
+++ b/packages/cli/src/progress-bar.ts
@@ -173,7 +173,9 @@ export const makeRenderingProgress = (
.filter(truthy)
.join(' '),
doneIn === null ? `${frames}/${totalFrames}` : chalk.gray(`${doneIn}ms`),
- ].join(' ');
+ ]
+ .filter(truthy)
+ .join(' ');
};
type StitchingProgressInput = {
@@ -205,7 +207,9 @@ export const makeStitchingProgress = (
? `${doneIn ? 'Muxed' : 'Muxing'} ${mediaType}`
: `${doneIn ? 'Encoded' : 'Encoding'} ${mediaType}`,
doneIn === null ? `${frames}/${totalFrames}` : chalk.gray(`${doneIn}ms`),
- ].join(' ');
+ ]
+ .filter(truthy)
+ .join(' ');
};
export type DownloadProgress = {
diff --git a/packages/cli/src/render.tsx b/packages/cli/src/render.tsx
index d48757b044..d8a2135491 100644
--- a/packages/cli/src/render.tsx
+++ b/packages/cli/src/render.tsx
@@ -65,7 +65,7 @@ export const render = async (remotionRoot: string, args: string[]) => {
fullEntryPoint,
remotionRoot,
browserExecutable,
- indentOutput: true,
+ indentOutput: false,
logLevel: ConfigInternals.Logging.getLogLevel(),
browser,
chromiumOptions,