Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Conversation

@todd
Copy link

@todd todd commented Dec 13, 2016

We need to be able to support incrementing or decrementing a Counter by 0. The current code value || 1 where value = 0 will always evaluate to 1. This changes the behavior to support 0, but still default to 1 when value is undefined or null.

@todd todd force-pushed the increment_decrement_by_0 branch from 5c77803 to b47c00c Compare December 13, 2016 22:47
@todd
Copy link
Author

todd commented Dec 13, 2016

Test failures are for very outdated versions of Node failing to install packages on Travis.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant