mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
cmd/handsum: append '\n' to base64 output
This commit is contained in:
1 parent
ba25980637
commit
9c6d1dacad
3 files changed
+80
-7
No files matched your search
@@ -203,6 +203,7 @@ func encode(w io.Writer, b64e *base64.Encoding, r io.Reader, color handsum.Color
|
||||
|
||||
if b64e != nil {
|
||||
enc := b64e.AppendEncode(nil, buf.Bytes())
|
||||
enc = append(enc, '\n')
|
||||
if _, err := w.Write(enc); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user