Comparing version 1.2.3 to 1.3.0
10
index.js
@@ -84,8 +84,6 @@ // Configly | ||
if (isEnv) { | ||
if (isRightEnv) { | ||
configObject.name = process.env.NODE_ENV; | ||
config.env = configObject; | ||
} | ||
} else { | ||
if (isEnv && isRightEnv) { | ||
configObject.name = process.env.NODE_ENV; | ||
config.env = configObject; | ||
} else if (!isEnv) { | ||
config[name] = configObject; | ||
@@ -92,0 +90,0 @@ } |
{ | ||
"name": "configly", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"description": "Provides an easy way to set up environmental configuration", | ||
@@ -29,7 +29,7 @@ "main": "index.js", | ||
"gulp-util": "~2.2.14", | ||
"gulp-jshint": "~1.4.2", | ||
"gulp-jshint": "~1.5.0", | ||
"gulp-exec": "~1.0.4", | ||
"mocha": "~1.17.1", | ||
"mocha-lcov-reporter": "0.0.1", | ||
"should": "~3.1.2", | ||
"should": "~3.1.3", | ||
"istanbul": "~0.2.4", | ||
@@ -36,0 +36,0 @@ "gulp-istanbul": "~0.1.1", |
13374
142