File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -333,8 +333,9 @@ function JavascriptRedisParser (options) {
333
333
throw new TypeError ( 'Please provide all return functions while initiating the parser' )
334
334
}
335
335
for ( var key in options ) {
336
+ // eslint-disable-next-line valid-typeof
336
337
if ( optionTypes . hasOwnProperty ( key ) && typeof options [ key ] !== optionTypes [ key ] ) {
337
- throw new TypeError ( 'The options argument contains the property "' + key + '" that is either unkown or of a wrong type' )
338
+ throw new TypeError ( 'The options argument contains the property "' + key + '" that is either unknown or of a wrong type' )
338
339
}
339
340
}
340
341
if ( options . name === 'hiredis' ) {
Original file line number Diff line number Diff line change 34
34
"codeclimate-test-reporter" : " ^0.4.0" ,
35
35
"intercept-stdout" : " ^0.1.2" ,
36
36
"istanbul" : " ^0.4.0" ,
37
- "standard" : " ^8.5 .0" ,
37
+ "standard" : " ^9.0 .0" ,
38
38
"mocha" : " ^3.1.2" ,
39
39
"hiredis" : " ^0.5.0"
40
40
},
You can’t perform that action at this time.
0 commit comments