We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This line:
redis-mock/lib/server/set.js
Line 11 in 84fed02
prevents sad from being called with a single member. Example code:
mockRedis = require("redis-mock").createClient(); mockRedis.sadd("setName", "member");
Since only two arguments are passed, the check on line 11 resolves to true, so the method immediately exits without adding the member to the set.
The text was updated successfully, but these errors were encountered:
Suggestion: change line 11 to if (arguments.length < 2) {
if (arguments.length < 2) {
Sorry, something went wrong.
No branches or pull requests
This line:
redis-mock/lib/server/set.js
Line 11 in 84fed02
prevents sad from being called with a single member. Example code:
Since only two arguments are passed, the check on line 11 resolves to true, so the method immediately exits without adding the member to the set.
The text was updated successfully, but these errors were encountered: