We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the progressbar is initialized with a value of 0 it will instead be 100%
bar.start(1,0.0) // -> results in 100% progress
The problem is this line of code
https://github.com/AndiDittrich/Node.CLI-Progress/blob/master/lib/Bar.js#L75
I will try to make a pull request if I have time if someone needs a workaround for the time beeing use a near 0 value as initial value
bar.start(1,0.00001)
The text was updated successfully, but these errors were encountered:
fixes npkgz#13 check for NaN explicitly
51ec15f
fixes npkgz#13 check for NaN explicitly and allow 0 as starting value
I also have this problem. Thank you for fixing this!
Sorry, something went wrong.
Merge pull request #14 from erikkallen/patch-1
9804199
fixes #13 check for NaN explicitly
Successfully merging a pull request may close this issue.
If the progressbar is initialized with a value of 0 it will instead be 100%
The problem is this line of code
https://github.com/AndiDittrich/Node.CLI-Progress/blob/master/lib/Bar.js#L75
I will try to make a pull request if I have time if someone needs a workaround for the time beeing use a near 0 value as initial value
bar.start(1,0.00001)
The text was updated successfully, but these errors were encountered: