We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd52801 commit 68561c5Copy full SHA for 68561c5
cli/main.go
@@ -33,7 +33,7 @@ var (
33
34
func fail(err string) {
35
fmt.Fprintln(os.Stderr, err)
36
- os.Exit(1) //revive:disable-line:deep-exit
+ os.Exit(1)
37
}
38
39
// RunRevive runs the CLI for revive.
@@ -87,7 +87,7 @@ func RunRevive(extraRules ...revivelib.ExtraRule) {
87
fmt.Println(output)
88
89
90
- os.Exit(exitCode) //revive:disable-line:deep-exit
+ os.Exit(exitCode)
91
92
93
var (
lint/name_test.go
@@ -3,7 +3,7 @@ package lint
3
import "testing"
4
5
// TestName tests Name function
6
-func TestName(t *testing.T) { //revive:disable-line:exported
+func TestName(t *testing.T) {
7
tests := []struct {
8
name, want string
9
}{
0 commit comments