You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Remove jshint comments and update istanbul comments
This commit is contained in:
@@ -147,7 +147,6 @@ function info_callback (self, callback) {
|
||||
}
|
||||
}
|
||||
obj.versions = [];
|
||||
/* istanbul ignore else: some redis servers do not send the version */
|
||||
if (obj.redis_version) {
|
||||
obj.redis_version.split('.').forEach(function (num) {
|
||||
obj.versions.push(+num);
|
||||
@@ -337,7 +336,7 @@ RedisClient.prototype.hmset = RedisClient.prototype.HMSET = function hmset () {
|
||||
}
|
||||
} else if (typeof arguments[1] === 'object' && (arguments.length === 2 || arguments.length === 3 && (typeof arguments[2] === 'function' || typeof arguments[2] === 'undefined'))) {
|
||||
arr = [arguments[0]];
|
||||
for (var field in arguments[1]) { // jshint ignore: line
|
||||
for (var field in arguments[1]) {
|
||||
arr.push(field, arguments[1][field]);
|
||||
}
|
||||
callback = arguments[2];
|
||||
@@ -376,7 +375,7 @@ Multi.prototype.hmset = Multi.prototype.HMSET = function hmset () {
|
||||
}
|
||||
} else if (typeof arguments[1] === 'object' && (arguments.length === 2 || arguments.length === 3 && (typeof arguments[2] === 'function' || typeof arguments[2] === 'undefined'))) {
|
||||
arr = [arguments[0]];
|
||||
for (var field in arguments[1]) { // jshint ignore: line
|
||||
for (var field in arguments[1]) {
|
||||
arr.push(field, arguments[1][field]);
|
||||
}
|
||||
callback = arguments[2];
|
||||
|
Reference in New Issue
Block a user