You've already forked node-redis
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:
@@ -72,7 +72,7 @@ module.exports = function createClient (port_arg, host_arg, options) {
|
||||
options.host = options.host || host_arg;
|
||||
|
||||
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');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user