From 81678ce817f73e9115d286b7d295fa569cc81399 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Wed, 10 May 2017 17:46:11 +0300 Subject: [PATCH] shepherd groom delete bugfix --- routes/cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/cache.js b/routes/cache.js index a7be858..e14ec22 100644 --- a/routes/cache.js +++ b/routes/cache.js @@ -141,7 +141,7 @@ cache.groomDelete = function(req, res, next) { if (_filename) { if (fs.existsSync(cache.iguanaDir + '/shepherd/cache-' + _filename + '.json')) { - inMemCache = {}; + inMemCache = null; fs.unlink(cache.iguanaDir + '/shepherd/cache-' + _filename + '.json', function(err) { if (err) {