Merge pull request #4262 from thelounge/maxleiter/fixConfigOverrides

Fix not overriding config options with -c
This commit is contained in:
Max Leiter 2021-06-22 00:12:53 -07:00 committed by GitHub
commit a046bfe8d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ try {
createPackagesFolder();
// Merge config key-values passed as CLI options into the main config
Helper.mergeConfig(Helper.config, program.config);
Helper.mergeConfig(Helper.config, program.opts().config);
require("./start");