mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-30 10:56:37 +02: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
process.env.CONFIG = configFile;
|
if (configExists) {
|
||||||
|
process.env.CONFIG = configFile;
|
||||||
|
}
|
||||||
|
|
||||||
// running commands
|
// running commands
|
||||||
program
|
program
|
||||||
|
|||||||
Reference in New Issue
Block a user