Skip to content

Commit

Permalink
Changed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardomozartlino committed May 20, 2022
1 parent 1f35081 commit f524f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/caching.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var memory = require('./stores/memory.js');
var none = require('./stores/none.js');
var parseWrapArguments = utils.parseWrapArguments;

var stores = {memory, none};
var bundledStores = {memory, none};

/**
* Generic caching interface that wraps any caching library with a compatible interface.
Expand All @@ -29,7 +29,7 @@ var caching = function(args) {
}
} else {
var storeName = args.store || 'memory';
self.store = stores[storeName].create(args);
self.store = bundledStores[storeName].create(args);
}

// do we handle a cache error the same as a cache miss?
Expand Down

0 comments on commit f524f5a

Please sign in to comment.