Commit 18df538
Mateus Oliveira
🌱 Enable govet settings and fix issue found (#4465)
Fix linter error `nilness: impossible condition: nil != nil (govet)`
```
golangci-lint run
pkg/plugins/golang/v4/scaffolds/edit.go:60:9: nilness: impossible condition: nil != nil (govet)
if err != nil && s.multigroup != s.config.IsMultiGroup() {
^
make: *** [lint] Error 1
```
Signed-off-by: Mateus Oliveira <[email protected]>1 parent f051464 commit 18df538
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 59 | | |
65 | 60 | | |
66 | 61 | | |
| |||
0 commit comments