Comparing version 0.1.12 to 0.1.13
@@ -70,3 +70,4 @@ // Copyright Teleportd | ||
config[result[1]] != result[2]) { | ||
util.debug('config(arg): ' + result[1] + '=' + config[result[1]] + ' -> ' + result[1] + '=' + result[2]); | ||
if(!config['SILENT_CONFIG']) | ||
util.debug('config(arg): ' + result[1] + '=' + config[result[1]] + ' -> ' + result[1] + '=' + result[2]); | ||
config[result[1]] = result[2]; | ||
@@ -80,3 +81,4 @@ } | ||
config[i] != process.env[i]) { | ||
util.debug('config(env): ' + i + '=' + config[i] + ' -> ' + i + '=' + process.env[i]); | ||
if(!config['SILENT_CONFIG']) | ||
util.debug('config(env): ' + i + '=' + config[i] + ' -> ' + i + '=' + process.env[i]); | ||
config[i] = process.env[i]; | ||
@@ -112,2 +114,3 @@ } | ||
var base_config = { | ||
'SILENT_CONFIG': false, | ||
'DEBUG': false, | ||
@@ -118,2 +121,2 @@ 'HMAC_ALGO': 'sha512', | ||
return base.shallow(base_config); | ||
}; | ||
}; |
{ | ||
"name": "fwk", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Simple JS framework for node.js", | ||
@@ -5,0 +5,0 @@ "keywords": ["fwk", "node"], |
21156
641