Skip to content

🎥 Make videos programmatically with React

Update user-passed-output-location.ts

Jonny Burgerf4a82f720143
diff --git a/packages/cli/src/user-passed-output-location.ts b/packages/cli/src/user-passed-output-location.ts
index 3623fd49a6..00d95bbe07 100644
--- a/packages/cli/src/user-passed-output-location.ts
+++ b/packages/cli/src/user-passed-output-location.ts
@@ -1,7 +1,7 @@
import {ConfigInternals} from './config';
export const getUserPassedOutputLocation = (args: string[]) => {
- const filename = args ? args[0] : ConfigInternals.getOutputLocation();
+ const filename = args[0] ?? ConfigInternals.getOutputLocation();
return filename;
};