Merge pull request #663 from TravisRoad/main

remove unnecessary trailing newline character when stdout is enabled
This commit is contained in:
Zack 2024-02-18 06:32:28 -08:00 committed by GitHub
commit 00f12b5742
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ func (c *Client) transfer() (err error) {
if err = os.Remove(pathToFile); err != nil {
log.Warnf("error removing %s: %v", pathToFile, err)
}
fmt.Print("\n")
fmt.Fprint(os.Stderr, "\n")
}
if err != nil && strings.Contains(err.Error(), "pake not successful") {
log.Debugf("pake error: %s", err.Error())