Skip to content

Commit

Permalink
remove unnecessary trailing newline character when stdout is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisRoad committed Feb 18, 2024
1 parent a240a4b commit 4f1f57b
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 4f1f57b

Please sign in to comment.