diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-02-13 19:49:58 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-02-13 20:22:52 +0700 |
| commit | a011abc1da757f69cc27e6c8475b5ae9fdf83bd2 (patch) | |
| tree | 9dc6aaacbb123c948fa26381d25701ebf2227ff7 /lib/smtp | |
| parent | 0f5515b0b7d41662306aee41b22f5fa2534dfce7 (diff) | |
| download | pakakeh.go-a011abc1da757f69cc27e6c8475b5ae9fdf83bd2.tar.xz | |
all: suppress false-positive linter warnings
Diffstat (limited to 'lib/smtp')
| -rw-r--r-- | lib/smtp/command.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/smtp/command.go b/lib/smtp/command.go index 7725198c..d9c58608 100644 --- a/lib/smtp/command.go +++ b/lib/smtp/command.go @@ -142,8 +142,7 @@ func (cmd *Command) reset() { // // unpack parse a command type, argument, and their parameters. // -//nolint:gocyclo -func (cmd *Command) unpack(b []byte) (err error) { +func (cmd *Command) unpack(b []byte) (err error) { //nolint:gocyclo,gocognit // Minimum command length is 4 + CRLF. if len(b) < 6 { return errCmdUnknown |
