From f524f5a41c1ad069da66ad04a001c75369cdc6ec Mon Sep 17 00:00:00 2001 From: Ricardo Mozart Lino Date: Fri, 20 May 2022 15:50:40 -0300 Subject: [PATCH] Changed variable name --- lib/caching.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/caching.js b/lib/caching.js index a041a148..21b95c9e 100644 --- a/lib/caching.js +++ b/lib/caching.js @@ -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. @@ -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?