Skip to content

Commit

Permalink
base64: Don't print newline
Browse files Browse the repository at this point in the history
  • Loading branch information
aburdulescu committed Mar 24, 2024
1 parent bebec1a commit 6ea4d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/misc/base64.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func runBase64(cmd *cmd.Command) error {
output = base64.StdEncoding.EncodeToString(input)
}

fmt.Fprintln(sf.Out, output)
fmt.Fprint(sf.Out, output)

return nil
}

0 comments on commit 6ea4d77

Please sign in to comment.