Skip to content
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

resolve #84 #85

Merged
merged 2 commits into from
Sep 14, 2020
Merged

resolve #84 #85

merged 2 commits into from
Sep 14, 2020

Conversation

AndreiNekrasOn
Copy link
Contributor

DefaultProgressBarRenderer.render was raising ArithmeticException, because length had value 0.
To fix it, I adjust maximum length of suffix and prefix, so length is at least 1.
Also wrote test for this behavior.

@ctongfei
Copy link
Owner

@AndreiNekrasOn Thanks for the contribution! This will be merged in the next version.

@ctongfei ctongfei added this to the 0.9 milestone Aug 26, 2020
@ctongfei ctongfei changed the base branch from master to 0.9.0 September 14, 2020 20:06
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.

2 participants