diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-06 03:06:54 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-06 03:06:54 +0700 |
| commit | 1e7cb99f42bcd41e98326bd9406d3cecfb2a4542 (patch) | |
| tree | 9981f1ebc98670f516939374012646314dda663f /lib/email | |
| parent | 16607dc13477ee53d95ee0295192643f6e726652 (diff) | |
| download | pakakeh.go-1e7cb99f42bcd41e98326bd9406d3cecfb2a4542.tar.xz | |
all: conform with linter gosec, ineffasign, and makezero
Some of warnings from those linter are false positives, so we just
annotated them.
Diffstat (limited to 'lib/email')
| -rw-r--r-- | lib/email/body.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/email/body.go b/lib/email/body.go index 07970fae..91ebcb04 100644 --- a/lib/email/body.go +++ b/lib/email/body.go @@ -241,7 +241,7 @@ func (body *Body) Simple() (out []byte) { case 1: default: if out[x-1] != cr && out[x] != lf { - out = append(out, "\r\n"...) + out = append(out, "\r\n"...) //nolint:makezero } } |
