@@ -51,7 +51,7 @@ function RedisClient (options, stream) {
5151 var cnx_options = { } ;
5252 var self = this ;
5353 /* 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 ) {
5555 cnx_options [ tls_option ] = options . tls [ tls_option ] ;
5656 // Copy the tls options into the general options to make sure the address is set right
5757 if ( tls_option === 'port' || tls_option === 'host' || tls_option === 'path' || tls_option === 'family' ) {
@@ -102,7 +102,7 @@ function RedisClient (options, stream) {
102102 if ( options . socket_keepalive === undefined ) {
103103 options . socket_keepalive = true ;
104104 }
105- for ( var command in options . rename_commands ) { // jshint ignore: line
105+ for ( var command in options . rename_commands ) {
106106 options . rename_commands [ command . toLowerCase ( ) ] = options . rename_commands [ command ] ;
107107 }
108108 options . return_buffers = ! ! options . return_buffers ;
@@ -438,7 +438,7 @@ RedisClient.prototype.on_ready = function () {
438438 }
439439 } ;
440440 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 ) {
442442 var command = key . slice ( 0 , key . indexOf ( '_' ) ) ;
443443 var args = self . subscription_set [ key ] ;
444444 self . internal_send_command ( command , [ args ] , callback ) ;
@@ -934,6 +934,7 @@ RedisClient.prototype.internal_send_command = function (command, args, callback,
934934 }
935935 // Handle `CLIENT REPLY ON|OFF|SKIP`
936936 // 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 */
937938 if ( this . reply === 'ON' ) {
938939 this . command_queue . push ( command_obj ) ;
939940 } else {
0 commit comments