Skip to content

Commit cfa5c3b

Browse files
authored
Merge pull request redis#1403 from tlhunter/patch-1
Fix typo in createClient.js
2 parents 824d0e2 + 0fc0d5e commit cfa5c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/createClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = function createClient (port_arg, host_arg, options) {
7272
options.host = options.host || host_arg;
7373

7474
if (port_arg && arguments.length !== 1) {
75-
throw new TypeError('To many arguments passed to createClient. Please only pass the options object');
75+
throw new TypeError('Too many arguments passed to createClient. Please only pass the options object');
7676
}
7777
}
7878

0 commit comments

Comments
 (0)