Skip to content

added ability to pass undefined instead of callback#136

Merged
mranney merged 2 commits into
redis:masterfrom
bobrik:callback-fixes
Nov 15, 2011
Merged

added ability to pass undefined instead of callback#136
mranney merged 2 commits into
redis:masterfrom
bobrik:callback-fixes

Conversation

@bobrik

@bobrik bobrik commented Oct 2, 2011

Copy link
Copy Markdown
Contributor

I found a problem that if I pass undefined as a callback, hincrby doesn't work:

redis.hincrby(key, field, increment, callback) use undefined as the fourth arg of hincrby command.

I've added checking for that situation with comments.

Probably should be added to readme file too.

@bobrik

bobrik commented Oct 9, 2011

Copy link
Copy Markdown
Contributor Author

Is there anybody alive?

@booo

booo commented Oct 9, 2011

Copy link
Copy Markdown

Adding a test maybe increases the probability of a merge...

@bobrik

bobrik commented Oct 15, 2011

Copy link
Copy Markdown
Contributor Author

Added tests

@bobrik

bobrik commented Nov 7, 2011

Copy link
Copy Markdown
Contributor Author

any update on this?

mranney added a commit that referenced this pull request Nov 15, 2011
added ability to pass undefined instead of callback
@mranney mranney merged commit dfd4c51 into redis:master Nov 15, 2011
@mranney

mranney commented Nov 15, 2011

Copy link
Copy Markdown
Contributor

Thanks, sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants