We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2561d79 commit 480e748Copy full SHA for 480e748
lib/redis-store.js
@@ -25,7 +25,7 @@ var RedisStore = function(options) {
25
// in ioredis, every reply consists of an array [err, value].
26
// We don't need the error here, and if we aren't dealing with an array,
27
// nothing is changed.
28
- replies = replies.map(function(val, index) {
+ replies = replies.map(function(val) {
29
if (Array.isArray(val) && val.length >= 2) {
30
return val[1];
31
}
0 commit comments