mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: #12243, don' set process.env.config if it doesnt exist
This commit is contained in:
@@ -114,7 +114,9 @@ if (!configExists && process.argv[2] !== 'setup') {
|
||||
return;
|
||||
}
|
||||
|
||||
process.env.CONFIG = configFile;
|
||||
if (configExists) {
|
||||
process.env.CONFIG = configFile;
|
||||
}
|
||||
|
||||
// running commands
|
||||
program
|
||||
|
||||
Reference in New Issue
Block a user