Verbose settings logging

This commit is contained in:
Sam 2018-07-20 22:39:36 +10:00
parent 4582d8694f
commit a648f28534
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ module.exports = function () {
for (let i = 0; i < fields.length; i++) { for (let i = 0; i < fields.length; i++) {
let setting = fields[i] let setting = fields[i]
output[setting] = args[setting] || process.env[setting] || defaults[setting] output[setting] = args[setting] || process.env[setting] || defaults[setting]
process.env[setting] = output[setting]
} }
console.log('Our settings are', output)
return output return output
} }