Skip to content

Commit

Permalink
fix: the --uiEnv arg is assigned incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
amirfefer committed Jul 25, 2023
1 parent 473dc8f commit d7967af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/config/src/scripts/dev-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function devScript(argv, cwd) {
const uiEnvOptions = ['beta', 'stable'];
if (argv?.clouddotEnv && argv?.uiEnv) {
if (clouddotEnvOptions.includes(argv.clouddotEnv) && uiEnvOptions.includes(argv.uiEnv)) {
process.env.BETA = argv.uiEnv;
process.env.BETA = argv.uiEnv === 'beta' ? 'true' : 'false';
process.env.CLOUDOT_ENV = argv.clouddotEnv;
process.env.FEC_ROOT_DIR = cwd;
} else {
Expand Down

0 comments on commit d7967af

Please sign in to comment.