Skip to content

Commit 9bda596

Browse files
committed
chore: update standard and fix typo
1 parent 47bc2e7 commit 9bda596

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/parser.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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') {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
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
},

0 commit comments

Comments
 (0)