Remove settings logging

This commit is contained in:
Sam 2018-07-20 23:02:13 +10:00
parent a648f28534
commit e216b99f8d
2 changed files with 6 additions and 2 deletions

View File

@ -23,9 +23,11 @@ module.exports = function () {
let output = {}
for (let i = 0; i < fields.length; i++) {
let setting = fields[i]
// console.log('Processing setting', setting)
// console.log(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)
// console.log('Our settings are', output)
return output
}

View File

@ -1,6 +1,8 @@
var git = require('git-rev-sync')
console.log('Production env', process.env)
// console.log('Production env', process.env)
let settingsHelper = new (require('../SettingsHelper'))()
module.exports = {
NODE_ENV: '"production"',