1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-11 22:42:42 +03:00

chore: improve coverage

This commit is contained in:
Ruben Bridgewater
2017-05-30 06:45:28 +02:00
parent 31fafd8b7c
commit b6c317dbb0
8 changed files with 82 additions and 12 deletions

View File

@@ -112,7 +112,7 @@ function toString (arg) {
function returnErr (client, command) {
const err = new TypeError('NodeRedis can not handle the provided arguments (see "error.issues" property).\n\nFurther information https://github.com/asd')
err.command = command.name.toUpperCase()
err.command = command.command.toUpperCase()
err.args = command.args
err.issues = errors
errors = null