ioredis-mock
Advanced tools
Comparing version 4.21.5 to 4.21.6
@@ -16,13 +16,4 @@ "use strict"; | ||
var list = this.data.get(key) || []; | ||
if (start < 0) { | ||
start = list.length + start; | ||
} | ||
if (end < 0) { | ||
end = list.length + end; | ||
} | ||
this.data.set(key, list.slice(start, end + 1)); | ||
this.data.set(key, list.slice(start, end + 1 || undefined)); | ||
return 'OK'; | ||
} |
@@ -123,3 +123,3 @@ { | ||
"runkitExampleFilename": "example.js", | ||
"version": "4.21.5" | ||
"version": "4.21.6" | ||
} |
209217
4891