Fix error when supplying all config values from env variables
If there was no config file and all config values were loaded from env variables, the userConfig object was never assigned a value and would throw an error when loading env variables.master
parent
4920425ad0
commit
667b552bf5
|
@ -12,7 +12,7 @@
|
|||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
let userConfig;
|
||||
let userConfig = {};
|
||||
|
||||
// Config files to search for, in priority order
|
||||
const configFiles = [
|
||||
|
|
Loading…
Reference in New Issue