[fix] Fix my own sloppy coding fixing the sloppy coding from #76.

This commit is contained in:
indexzero 2014-11-26 01:14:44 -05:00
parent 5502f2cf98
commit 8d5fb25701

View file

@ -30,7 +30,7 @@ var Provider = exports.Provider = function (options) {
// in this instance // in this instance
// //
['add', 'env'].forEach(function (type) { ['argv', 'env'].forEach(function (type) {
Provider.prototype[type] = function () { Provider.prototype[type] = function () {
var args = [type].concat(Array.prototype.slice.call(arguments)); var args = [type].concat(Array.prototype.slice.call(arguments));
return this.add.apply(this, args); return this.add.apply(this, args);