Skip to content

Commit

Permalink
NODE_ENV in configure now defaults to development, which is consisten…
Browse files Browse the repository at this point in the history
…t with express
  • Loading branch information
matthewmueller committed Mar 9, 2012
1 parent 5312e15 commit a29525e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Manager.prototype.disabled = function (key) {
Manager.prototype.configure = function (env, fn) {
if ('function' == typeof env) {
env.call(this);
} else if (env == process.env.NODE_ENV) {
} else if (env == (process.env.NODE_ENV || 'development')) {
fn.call(this);
}

Expand Down

0 comments on commit a29525e

Please sign in to comment.