Skip to content

🎥 Make videos programmatically with React

Update render.ts

Jonny Burger3f4782e871fd
diff --git a/packages/lambda/src/cli/render.ts b/packages/lambda/src/cli/render.ts
index b55f0b531a..ff4274b5d1 100644
--- a/packages/lambda/src/cli/render.ts
+++ b/packages/lambda/src/cli/render.ts
@@ -31,12 +31,6 @@ export const renderCommand = async (args: string[]) => {
Log.info();
// TODO: Rename serveURL
Log.info(`${BINARY_NAME} ${RENDER_COMMAND} <serve-url> <composition-id>`);
- }
-
- // TODO: Redundancy with CLI
- if (!args[2]) {
- Log.error('Composition ID not passed.');
- Log.error('Pass an extra argument <composition-id>.');
process.exit(1);
}