mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
c56e2dff2f
If the config file has no entry for caveats, the Caveats field of the struct defaults to the empty string. When strings.Split() is called on the empty string, it returns []string{""}. This is considered truthy by the template processor, resulting in a caveats section consisting of a blank line. |
||
---|---|---|
.. | ||
testdata | ||
brew_test.go | ||
brew.go | ||
doc.go | ||
template.go |