Skip to content

Commit

Permalink
[minor] Update whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Jan 2, 2012
1 parent fdb73f0 commit 9e9e37b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/nconf/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ var Provider = exports.Provider = function (options) {
['defaults', 'overrides'].forEach(function (type) {
Provider.prototype[type] = function (options) {
options = options || {};
if(!options.type) {
if (!options.type) {
options.type = 'literal';
}

return this.add(type, options);
};
});
Expand Down

0 comments on commit 9e9e37b

Please sign in to comment.