Skip to content

🎥 Make videos programmatically with React

fix command line parsing

Jonny Burger3557989f3ec0
diff --git a/packages/cli/src/render.tsx b/packages/cli/src/render.tsx
index 69806a9076..c3f7cc6cde 100644
--- a/packages/cli/src/render.tsx
+++ b/packages/cli/src/render.tsx
@@ -60,7 +60,6 @@ export const render = async () => {
const file = parsedCli._[1];
const fullPath = path.join(process.cwd(), file);
- parseCommandLine();
const appliedName = loadConfig();
if (appliedName) {
Log.verbose(`Applied configuration from ${appliedName}.`);
@@ -68,6 +67,8 @@ export const render = async () => {
Log.verbose('No config file loaded.');
}
+ parseCommandLine();
+
const {
codec,
proResProfile,