1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-15 11:56:56 +02:00

chore: added todo

This commit is contained in:
Carlos Alexandro Becker 2019-02-26 18:04:41 -03:00
parent be1e9ce230
commit 2a35ffbfbe
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -76,6 +76,8 @@ func checksums(algorithm string, w io.Writer, artifact artifact.Artifact) error
if err != nil {
return err
}
// TODO: could change the signature to io.StringWriter, but will break
// compatibility with go versions bellow 1.12
_, err = io.WriteString(w, fmt.Sprintf("%v %v\n", sha, artifact.Name))
return err
}