File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ var commitStatusPriorities = map[CommitStatusState]int{
28
28
CommitStatusWarning : 2 ,
29
29
CommitStatusPending : 3 ,
30
30
CommitStatusSuccess : 4 ,
31
+ CommitStatusSkipped : 5 ,
31
32
}
32
33
33
34
func (css CommitStatusState ) String () string {
@@ -37,7 +38,7 @@ func (css CommitStatusState) String() string {
37
38
// NoBetterThan returns true if this State is no better than the given State
38
39
// This function only handles the states defined in CommitStatusPriorities
39
40
func (css CommitStatusState ) NoBetterThan (css2 CommitStatusState ) bool {
40
- // NoBetterThan only handles the 5 states above
41
+ // NoBetterThan only handles the 6 states above
41
42
if _ , exist := commitStatusPriorities [css ]; ! exist {
42
43
return false
43
44
}
You can’t perform that action at this time.
0 commit comments