From e216b99f8da30a0d9c0c2ea76e8916a2f141b3f7 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 20 Jul 2018 23:02:13 +1000 Subject: [PATCH] Remove settings logging --- SettingsHelper.js | 4 +++- config/prod.env.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SettingsHelper.js b/SettingsHelper.js index 34bf793c..47efedaa 100644 --- a/SettingsHelper.js +++ b/SettingsHelper.js @@ -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 } diff --git a/config/prod.env.js b/config/prod.env.js index f54c16b9..4d5b2963 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -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"',