-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
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
Beanstalk watchers count check bugfix #530
Conversation
…the tube it is checking
@wyattwalter care to check travis run? |
Doh. Does travis run automatically or is there something I need to do to trigger it again? |
@wyattwalter it does run automatically each push. Seems a934655 failed as well |
Blarg. Thanks. Didn't notice the second file. |
# subtract ourselves | ||
watchers = watchers - 1 | ||
else | ||
unless watchers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future use - such things are better looking when squashed into something like
watchers = 0 unless watchers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted, thanks!
Beanstalk watchers count check bugfix
Subtracting 1 from watchers is flawed, as the check itself never actually watches the tube it's checking. Removed that.