Skip to content

🎥 Make videos programmatically with React

formatting + gitignore

Jonny Burger5378e6e4ee5b
diff --git a/.gitignore b/.gitignore
index 5ac170beda..f9207eed10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ lerna-debug.log
.DS_Store
coverage
packages/example/.env
+packages/example/out
diff --git a/packages/cli/src/render.tsx b/packages/cli/src/render.tsx
index 735a4ddffa..a789c9685d 100644
--- a/packages/cli/src/render.tsx
+++ b/packages/cli/src/render.tsx
@@ -173,14 +173,14 @@ export const render = async () => {
throw new TypeError('CRF is unexpectedly not a number');
}
- const dirName = path.dirname(absoluteOutputFile)
+ const dirName = path.dirname(absoluteOutputFile);
if (!fs.existsSync(dirName)) {
- fs.mkdirSync(dirName, {
- recursive: true,
- });
+ fs.mkdirSync(dirName, {
+ recursive: true,
+ });
}
-
+
const stitchingProgress = createProgressBar();
stitchingProgress.update(