Skip to content

Commit

Permalink
Removing unused variable assignement
Browse files Browse the repository at this point in the history
The variable routeExpire is being assigned with its default value one more time without necessity.
  • Loading branch information
tramontini authored Oct 15, 2019
1 parent fb1e379 commit 1941262
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/middleware/redis-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,5 @@ module.exports = (opts = {}) => {
} catch (e) {
console.log('Failed to set cache');
}
routeExpire = false;
};
};

0 comments on commit 1941262

Please sign in to comment.