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 025fb3c commit 3d9f54bCopy full SHA for 3d9f54b
pkg/exitcodes/exitcodes.go
@@ -1,14 +1,14 @@
1
package exitcodes
2
3
const (
4
- Success = 0
5
- IssuesFound = 1
6
- WarningInTest = 2
7
- Failure = 3
8
- Timeout = 4
9
- NoGoFiles = 5
10
- NoConfigFileDetected = 6
11
- ErrorWasLogged = 7
+ Success = iota
+ IssuesFound
+ WarningInTest
+ Failure
+ Timeout
+ NoGoFiles
+ NoConfigFileDetected
+ ErrorWasLogged
12
)
13
14
type ExitError struct {
@@ -30,5 +30,3 @@ var (
30
Code: Failure,
31
}
32
33
-
34
-// 1
0 commit comments