Skip to content

Commit

Permalink
fix: #12243, don' set process.env.config if it doesnt exist
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Dec 22, 2023
1 parent 48a2b5f commit 788404c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/index.js
Expand Up @@ -114,7 +114,9 @@ if (!configExists && process.argv[2] !== 'setup') {
return;
}

process.env.CONFIG = configFile;
if (configExists) {
process.env.CONFIG = configFile;
}

// running commands
program
Expand Down

0 comments on commit 788404c

Please sign in to comment.