fix(deps): update module github.com/vbauerster/mpb/v8 to v8.7.3

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2024-04-09 23:28:27 +00:00
committed by GitHub
parent 3a20c72759
commit 9d18a48803
12 changed files with 73 additions and 106 deletions

View File

@@ -3,7 +3,7 @@ package internal
// CheckRequestedWidth checks that requested width doesn't overflow
// available width
func CheckRequestedWidth(requested, available int) int {
if requested < 1 || requested >= available {
if requested < 1 || requested > available {
return available
}
return requested