@@ -51,7 +51,7 @@ function RedisClient (options, stream) {
51
51
var cnx_options = { } ;
52
52
var self = this ;
53
53
/* istanbul ignore next: travis does not work with stunnel atm. Therefore the tls tests are skipped on travis */
54
- for ( var tls_option in options . tls ) { // jshint ignore: line
54
+ for ( var tls_option in options . tls ) {
55
55
cnx_options [ tls_option ] = options . tls [ tls_option ] ;
56
56
// Copy the tls options into the general options to make sure the address is set right
57
57
if ( tls_option === 'port' || tls_option === 'host' || tls_option === 'path' || tls_option === 'family' ) {
@@ -102,7 +102,7 @@ function RedisClient (options, stream) {
102
102
if ( options . socket_keepalive === undefined ) {
103
103
options . socket_keepalive = true ;
104
104
}
105
- for ( var command in options . rename_commands ) { // jshint ignore: line
105
+ for ( var command in options . rename_commands ) {
106
106
options . rename_commands [ command . toLowerCase ( ) ] = options . rename_commands [ command ] ;
107
107
}
108
108
options . return_buffers = ! ! options . return_buffers ;
@@ -438,7 +438,7 @@ RedisClient.prototype.on_ready = function () {
438
438
}
439
439
} ;
440
440
debug ( 'Sending pub/sub on_ready commands' ) ;
441
- for ( var key in this . subscription_set ) { // jshint ignore: line
441
+ for ( var key in this . subscription_set ) {
442
442
var command = key . slice ( 0 , key . indexOf ( '_' ) ) ;
443
443
var args = self . subscription_set [ key ] ;
444
444
self . internal_send_command ( command , [ args ] , callback ) ;
@@ -934,6 +934,7 @@ RedisClient.prototype.internal_send_command = function (command, args, callback,
934
934
}
935
935
// Handle `CLIENT REPLY ON|OFF|SKIP`
936
936
// This has to be checked after call_on_write
937
+ /* istanbul ignore else: TODO: Remove this as soon as we test Redis 3.2 on travis */
937
938
if ( this . reply === 'ON' ) {
938
939
this . command_queue . push ( command_obj ) ;
939
940
} else {
0 commit comments