🎥 Make videos programmatically with React
fixes
Jonny Burger3b31a0defe9d
diff --git a/packages/cli/src/get-filename.ts b/packages/cli/src/get-filename.tsindex 4928e6d1dd..4e0a018df0 100644--- a/packages/cli/src/get-filename.ts+++ b/packages/cli/src/get-filename.ts@@ -10,7 +10,7 @@ export const getOutputFilename = (): string => {let filename = getUserPassedOutputLocation();let extension = getUserPassedFileExtension();- if (imageSequence && extension !== null) {+ if (imageSequence) {if (extension !== null) {console.error('The output directory of the image sequence cannot have an extension. Got: ' +diff --git a/packages/cli/src/parse-command-line.ts b/packages/cli/src/parse-command-line.tsindex 15e7ead03b..0d89b07cd9 100644--- a/packages/cli/src/parse-command-line.ts+++ b/packages/cli/src/parse-command-line.ts@@ -29,8 +29,11 @@ export const parseCommandLine = () => {Config.Rendering.setConcurrency(parsedCli.concurrency);}if (parsedCli.png) {- console.warn('The --png flag has been renamed to --sequence.');+ console.warn(+ 'The --png flag has been deprecrated. Use --sequence --image-format=png from now on.'+ );Config.Output.setImageSequence(true);+ Config.Rendering.setImageFormat('png');}if (parsedCli.sequence) {Config.Output.setImageSequence(true);