Skip to content

Fix display of upload file location#619

Merged
nanjiangshu merged 1 commit intomainfrom
feature/upload-location-fix
Nov 7, 2025
Merged

Fix display of upload file location#619
nanjiangshu merged 1 commit intomainfrom
feature/upload-location-fix

Conversation

@viklund
Copy link
Copy Markdown
Member

@viklund viklund commented Nov 4, 2025

The call to shutdown the progress bar (p.Shutdown) clears the last line of output, causing the text "file uploaded to %s" to be removed and instead the finished progressbar is shown twice.

Moving the Printf to after p.Shutdown fixes this.

Related issue(s) and PR(s)
This PR closes [issue number].

Description

How to test

The call to shutdown the progress bar (p.Shutdown) clears the last line
of output, causing the text "file uploaded to %s" to be removed and
instead the finished progressbar is shown twice.

Moving the Printf to after p.Shutdown fixes this.
@viklund viklund requested a review from a team as a code owner November 4, 2025 14:54
Copy link
Copy Markdown
Contributor

@nanjiangshu nanjiangshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix!

@nanjiangshu nanjiangshu added this pull request to the merge queue Nov 7, 2025
Merged via the queue into main with commit d8bc6d8 Nov 7, 2025
6 checks passed
@nanjiangshu nanjiangshu deleted the feature/upload-location-fix branch November 7, 2025 08:50
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.

3 participants