Skip to content

Commit 75de366

Browse files
author
Mattia Bertorello
committed
Fixed all the problem reported by nakedret
1 parent 7695931 commit 75de366

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.golangci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ linters:
3030
- lll
3131
- maligned
3232
- megacheck
33-
- megacheck
34-
- nakedret
3533
- prealloc
3634
- unparam
3735
- varcheck

commands/commands_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func executeWithArgs(t *testing.T, args ...string) (exitCode int, output []byte)
102102
cmd.SetArgs(args)
103103
cmd.Execute()
104104

105-
return
105+
return exitCode, output
106106
}
107107

108108
var currDataDir *paths.Path

0 commit comments

Comments
 (0)