Skip to content

fix: when setMaxDetailRow() but not use AddDetail(), cause index out of range.#214

Merged
schollz merged 1 commit intoschollz:mainfrom
chengxilo:fix_index_out_of_range_when_no_details
Jan 24, 2025
Merged

fix: when setMaxDetailRow() but not use AddDetail(), cause index out of range.#214
schollz merged 1 commit intoschollz:mainfrom
chengxilo:fix_index_out_of_range_when_no_details

Conversation

@chengxilo
Copy link
Contributor

fix: #212
when user do not add detail, the progress bar will panic because index out of range.

@schollz schollz merged commit d367bcc into schollz:main Jan 24, 2025
1 check passed
@chengxilo chengxilo deleted the fix_index_out_of_range_when_no_details branch January 24, 2025 22:41
@chengxilo
Copy link
Contributor Author

Thanks.🥰

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.

bar.Finish() cause panic: runtime error: index out of range [-1]

2 participants