From 8d5fb257013654d0128a54a257ebe14338eced53 Mon Sep 17 00:00:00 2001 From: indexzero Date: Wed, 26 Nov 2014 01:14:44 -0500 Subject: [PATCH] [fix] Fix my own sloppy coding fixing the sloppy coding from #76. --- lib/nconf/provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nconf/provider.js b/lib/nconf/provider.js index c331c73..5acfc97 100644 --- a/lib/nconf/provider.js +++ b/lib/nconf/provider.js @@ -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);