Skip to content

Commit

Permalink
Update dotenv dep to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
af committed Feb 16, 2017
1 parent 7500638 commit 98ae305
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ function formatSpecDescription(spec) {
}

function extendWithDotEnv(inputEnv) {
return extend(dotenv.config({ silent: true }), inputEnv)
const { parsed } = dotenv.config()
return extend(parsed, inputEnv)
}

function cleanEnv(inputEnv, specs = {}, options = {}) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"license": "MIT",
"dependencies": {
"chalk": "1.1.3",
"dotenv": "2.0.0"
"dotenv": "4.0.0"
},
"config": {
"ghooks": {
Expand Down

0 comments on commit 98ae305

Please sign in to comment.