0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

update deps and ui

This commit is contained in:
Zack Scholl 2022-05-18 16:53:28 -07:00
parent c68cfcea8a
commit da5d19ef28
3 changed files with 14 additions and 10 deletions

View file

@ -381,7 +381,11 @@ func (c *Client) sendCollectFiles(filesInfo []FileInfo) (err error) {
}
fmt.Fprintf(os.Stderr, "\r ")
fmt.Fprintf(os.Stderr, "\rSending %s and %s (%s)\n", fname, folderName, utils.ByteCountDecimal(totalFilesSize))
if c.TotalNumberFolders > 0 {
fmt.Fprintf(os.Stderr, "\rSending %s and %s (%s)\n", fname, folderName, utils.ByteCountDecimal(totalFilesSize))
} else {
fmt.Fprintf(os.Stderr, "\rSending %s (%s)\n", fname, utils.ByteCountDecimal(totalFilesSize))
}
return
}