🎥 Make videos programmatically with React
show time after render
Jonny Burger6af6cddd7933
diff --git a/packages/lambda/src/cli/commands/render/render.ts b/packages/lambda/src/cli/commands/render/render.tsindex 130899e229..56284077bc 100644--- a/packages/lambda/src/cli/commands/render/render.ts+++ b/packages/lambda/src/cli/commands/render/render.ts@@ -215,7 +215,17 @@ export const renderCommand = async (args: string[]) => {}Log.info(- `${newStatus.renderMetadata?.estimatedTotalLambdaInvokations} λ's used, Estimated cost $${newStatus.costs.displayCost}`+ [+ newStatus.renderMetadata+ ? `${newStatus.renderMetadata.estimatedTotalLambdaInvokations} λ's used`+ : null,+ newStatus.timeToFinish+ ? `${(newStatus.timeToFinish / 1000).toFixed(2)}sec`+ : null,+ `Estimated cost $${newStatus.costs.displayCost}`,+ ]+ .filter(Boolean)+ .join(' '));quit(0);