You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
stream commands + some more
This commit is contained in:
@@ -13,11 +13,11 @@ export default {
|
||||
) {
|
||||
const args = ['BITPOS', key, bit.toString()];
|
||||
|
||||
if (typeof start === 'number') {
|
||||
if (start !== undefined) {
|
||||
args.push(start.toString());
|
||||
}
|
||||
|
||||
if (typeof end === 'number') {
|
||||
if (end !== undefined) {
|
||||
args.push(end.toString());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user