Skip to content

Commit

Permalink
Merge pull request #3 from heri16/patch-1
Browse files Browse the repository at this point in the history
Keep compatibility to old nodejs versions
  • Loading branch information
heri16 authored May 28, 2018
2 parents 4ce27e3 + 3e24e69 commit 4b0b615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis-rstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RedisRStream.prototype._read = function _read(size) {
}
self._redisOffset = endOffset + 1;
self._redisPendingReads += 1;
const getrangeCallback = function (err, buff) {
var getrangeCallback = function (err, buff) {
self._redisPendingReads -= 1;
if(buff) {
self._redisLength += buff.length;
Expand Down

0 comments on commit 4b0b615

Please sign in to comment.