Skip to content

Commit

Permalink
Merge pull request #663 from TravisRoad/main
Browse files Browse the repository at this point in the history
remove unnecessary trailing newline character when stdout is enabled
  • Loading branch information
schollz authored Feb 18, 2024
2 parents a240a4b + 4f1f57b commit 00f12b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/croc/croc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 00f12b5

Please sign in to comment.