mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-02 00:11:56 +03:00
Update golangci-lint
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ func (s *Secret) Set(text string) error {
|
||||
return fmt.Errorf("incorrect secret format: %w", err)
|
||||
}
|
||||
|
||||
if len(decoded) < 2 { // nolint: gomnd // we need at least 1 byte here
|
||||
if len(decoded) < 2 { //nolint: gomnd // we need at least 1 byte here
|
||||
return fmt.Errorf("secret is truncated, length=%d", len(decoded))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user