Skip to content

🎥 Make videos programmatically with React

stuff not needed anymore

Jonny Burgerd054f7997b02
diff --git a/packages/cli/src/parse-command-line.ts b/packages/cli/src/parse-command-line.ts
index 7257bffab9..bc3e2bd61a 100644
--- a/packages/cli/src/parse-command-line.ts
+++ b/packages/cli/src/parse-command-line.ts
@@ -145,10 +145,6 @@ export const parsedCli = minimist<CommandLineOptions>(process.argv.slice(2), {
};
export const parseCommandLine = () => {
- if (parsedCli.repro) {
- Config.setRepro(true);
- }
-
if (parsedCli['pixel-format']) {
Config.setPixelFormat(parsedCli['pixel-format']);
}
@@ -238,18 +234,6 @@ export const parseCommandLine = () => {
if (typeof parsedCli['webpack-poll'] !== 'undefined') {
Config.setWebpackPollingInMilliseconds(parsedCli['webpack-poll']);
}
-
- if (typeof parsedCli['audio-bitrate'] !== 'undefined') {
- Config.setAudioBitrate(parsedCli['audio-bitrate']);
- }
-
- if (typeof parsedCli['video-bitrate'] !== 'undefined') {
- Config.setVideoBitrate(parsedCli['video-bitrate']);
- }
-
- if (typeof parsedCli['buffer-size'] !== 'undefined') {
- Config.setEncodingBufferSize(parsedCli['buffer-size']);
- }
};
export const quietFlagProvided = () => parsedCli.quiet || parsedCli.q;
diff --git a/packages/cli/src/render-flows/still.ts b/packages/cli/src/render-flows/still.ts
index 69037130a1..2fa7bc6aa7 100644
--- a/packages/cli/src/render-flows/still.ts
+++ b/packages/cli/src/render-flows/still.ts
@@ -308,7 +308,7 @@ export const renderStillFlow = async ({
onDownload,
port,
puppeteerInstance,
- server: await server,
+ server,
cancelSignal,
indent,
onBrowserLog: null,