Skip to content

Commit

Permalink
let argv override env; relates to gunpowderlabs#5
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinjuarez committed Oct 1, 2019
1 parent b7d4962 commit 241cb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function current(env) {
}

function reset() {
current(make(process.env.NODE_ENV || argv.env || "development"));
current(make(argv.env || process.env.NODE_ENV || "development"));
}

function make(name) {
Expand Down

0 comments on commit 241cb98

Please sign in to comment.