Skip to content

Commit

Permalink
fix: missing \r in error reporting
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed May 10, 2022
1 parent 696d131 commit 23d67b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wish.go
Expand Up @@ -46,5 +46,5 @@ func Fatal(s ssh.Session, err error) {

// Error prints the given error the the session's STDERR.
func Error(s ssh.Session, err error) {
_, _ = fmt.Fprintln(s.Stderr(), err)
_, _ = fmt.Fprintf(s.Stderr(), "%s\n\r", err)
}

0 comments on commit 23d67b7

Please sign in to comment.