Skip to content

Commit 68561c5

Browse files
committed
fail
1 parent cd52801 commit 68561c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cli/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var (
3333

3434
func fail(err string) {
3535
fmt.Fprintln(os.Stderr, err)
36-
os.Exit(1) //revive:disable-line:deep-exit
36+
os.Exit(1)
3737
}
3838

3939
// RunRevive runs the CLI for revive.
@@ -87,7 +87,7 @@ func RunRevive(extraRules ...revivelib.ExtraRule) {
8787
fmt.Println(output)
8888
}
8989

90-
os.Exit(exitCode) //revive:disable-line:deep-exit
90+
os.Exit(exitCode)
9191
}
9292

9393
var (

lint/name_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package lint
33
import "testing"
44

55
// TestName tests Name function
6-
func TestName(t *testing.T) { //revive:disable-line:exported
6+
func TestName(t *testing.T) {
77
tests := []struct {
88
name, want string
99
}{

0 commit comments

Comments
 (0)