Skip to content

Commit

Permalink
[fix] Fix my own sloppy coding fixing the sloppy coding from #76.
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Nov 26, 2014
1 parent 5502f2c commit 8d5fb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nconf/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var Provider = exports.Provider = function (options) {
// in this instance
//

['add', 'env'].forEach(function (type) {
['argv', 'env'].forEach(function (type) {
Provider.prototype[type] = function () {
var args = [type].concat(Array.prototype.slice.call(arguments));
return this.add.apply(this, args);
Expand Down

0 comments on commit 8d5fb25

Please sign in to comment.