@remotion/cli
Version:
Control Remotion features using the `npx remotion` command
16 lines (15 loc) • 532 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getShouldOpenBrowser = exports.setShouldOpenBrowser = void 0;
let should = true;
const setShouldOpenBrowser = (_should) => {
if (typeof _should !== 'boolean') {
throw new TypeError(`Expected a boolean, got ${typeof _should} (${should})`);
}
should = _should;
};
exports.setShouldOpenBrowser = setShouldOpenBrowser;
const getShouldOpenBrowser = () => {
return should;
};
exports.getShouldOpenBrowser = getShouldOpenBrowser;