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
Dragory 2019-12-05 21:50:02 +02:00
parent 4920425ad0
commit 667b552bf5
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [