-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: NoMethodError on decrement when output is non-TTY
Why This Change Is Necessary ======================================================================== - [x] Bug Fix - [ ] New Feature Calling decrement when the output is not TTY enabled causes a no method error as `bar_update_string` returns `nil` where a string is expected. How These Changes Address the Issue ======================================================================== This change ensures a string is returned so there is no runtime error and adds a test case. Side Effects Caused By This Change ======================================================================== - [ ] This Causes a Breaking Change - [x] This Does Not Cause Any Known Side Effects Checklist ======================================================================== - [x] I have run `rubocop` against the codebase - [x] I have added tests to cover my changes - [x] All new and existing tests passed ------------------------------------------------------------------------ Github Issue URLs: * #147
- Loading branch information
Showing
6 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters