-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error: Invalid count value when no rows #415
Comments
@jarrodek what is your expected output for this? |
Essentially yes. The command in my CLI I am building may not return any results (for example when a query yields no results). The command's output is still the same which is the table but in this specific case, it has no rows. This way the interface stays consistent regardless of the result. |
This also fails when the title length > column length. This works because the title is short
This fails due to the title being longer than the columns
|
🎉 This issue has been resolved in version 2.11.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Seems already been resolved |
The following code fails with the
Invalid count value when no rows
error.It looks like the
textWithPadding()
function in thestring-utils
file does not handle situation when the size is invalid.The use case is to print the table header even when there are no items to render.
The text was updated successfully, but these errors were encountered: