This repository was archived by the owner on May 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ function Client (options) {
128
128
if ( options . reconnect ) {
129
129
// Fall back to defaults if options.reconnect === true
130
130
var rOpts = ( typeof ( options . reconnect ) === 'object' )
131
- ? options . reconnect : { }
131
+ ? options . reconnect
132
+ : { }
132
133
this . reconnect = {
133
134
initialDelay : parseInt ( rOpts . initialDelay || 100 , 10 ) ,
134
135
maxDelay : parseInt ( rOpts . maxDelay || 10000 , 10 ) ,
@@ -859,7 +860,8 @@ Client.prototype.connect = function connect () {
859
860
if ( typeof ( socket . setKeepAlive ) !== 'function' ) {
860
861
socket . setKeepAlive = function setKeepAlive ( enable , delay ) {
861
862
return socket . socket
862
- ? socket . socket . setKeepAlive ( enable , delay ) : false
863
+ ? socket . socket . setKeepAlive ( enable , delay )
864
+ : false
863
865
}
864
866
}
865
867
Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ ExtendedRequest.prototype._json = function (j) {
106
106
107
107
j . requestName = this . requestName
108
108
j . requestValue = ( Buffer . isBuffer ( this . requestValue ) )
109
- ? this . requestValue . toString ( 'hex' ) : this . requestValue
109
+ ? this . requestValue . toString ( 'hex' )
110
+ : this . requestValue
110
111
111
112
return j
112
113
}
Original file line number Diff line number Diff line change 30
30
"get-port" : " ^5.1.1" ,
31
31
"husky" : " ^4.2.5" ,
32
32
"snazzy" : " ^8.0.0" ,
33
- "standard" : " ^14 .0.2 " ,
33
+ "standard" : " ^15 .0.0 " ,
34
34
"tap" : " 14.10.8"
35
35
},
36
36
"scripts" : {
You can’t perform that action at this time.
0 commit comments