Skip to content

Commit 480e748

Browse files
authored
Update redis-store.js
1 parent 2561d79 commit 480e748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis-store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var RedisStore = function(options) {
2525
// in ioredis, every reply consists of an array [err, value].
2626
// We don't need the error here, and if we aren't dealing with an array,
2727
// nothing is changed.
28-
replies = replies.map(function(val, index) {
28+
replies = replies.map(function(val) {
2929
if (Array.isArray(val) && val.length >= 2) {
3030
return val[1];
3131
}

0 commit comments

Comments
 (0)