File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -333,8 +333,9 @@ function JavascriptRedisParser (options) {
333333 throw new TypeError ( 'Please provide all return functions while initiating the parser' )
334334 }
335335 for ( var key in options ) {
336+ // eslint-disable-next-line valid-typeof
336337 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' )
338339 }
339340 }
340341 if ( options . name === 'hiredis' ) {
Original file line number Diff line number Diff line change 3434 "codeclimate-test-reporter" : " ^0.4.0" ,
3535 "intercept-stdout" : " ^0.1.2" ,
3636 "istanbul" : " ^0.4.0" ,
37- "standard" : " ^8.5 .0" ,
37+ "standard" : " ^9.0 .0" ,
3838 "mocha" : " ^3.1.2" ,
3939 "hiredis" : " ^0.5.0"
4040 },
You can’t perform that action at this time.
0 commit comments