[api] Default to options
if options.store
is not available in nconf.Literal
This commit is contained in:
parent
b658f68a89
commit
53d854a789
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ var Literal = exports.Literal = function Literal (options) {
|
|||
options = options || {}
|
||||
this.type = 'literal';
|
||||
this.readOnly = true;
|
||||
this.store = options.store || {};
|
||||
this.store = options.store || options;
|
||||
};
|
||||
|
||||
// Inherit from Memory store.
|
||||
|
|
Loading…
Reference in a new issue