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

Fix typo in createClient.js

This commit is contained in:
Thomas Hunter II
2018-12-27 14:53:01 -08:00
committed by GitHub
parent 95b8f1a73a
commit 34eac0db40

View File

@@ -72,7 +72,7 @@ module.exports = function createClient (port_arg, host_arg, options) {
options.host = options.host || host_arg; options.host = options.host || host_arg;
if (port_arg && arguments.length !== 1) { if (port_arg && arguments.length !== 1) {
throw new TypeError('To many arguments passed to createClient. Please only pass the options object'); throw new TypeError('Too many arguments passed to createClient. Please only pass the options object');
} }
} }