Remove settings logging
This commit is contained in:
parent
a648f28534
commit
e216b99f8d
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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"',
|
||||
|
|
Loading…
Reference in New Issue