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{
2828 CommitStatusWarning : 2 ,
2929 CommitStatusPending : 3 ,
3030 CommitStatusSuccess : 4 ,
31+ CommitStatusSkipped : 5 ,
3132}
3233
3334func (css CommitStatusState ) String () string {
@@ -37,7 +38,7 @@ func (css CommitStatusState) String() string {
3738// NoBetterThan returns true if this State is no better than the given State
3839// This function only handles the states defined in CommitStatusPriorities
3940func (css CommitStatusState ) NoBetterThan (css2 CommitStatusState ) bool {
40- // NoBetterThan only handles the 5 states above
41+ // NoBetterThan only handles the 6 states above
4142 if _ , exist := commitStatusPriorities [css ]; ! exist {
4243 return false
4344 }
You can’t perform that action at this time.
0 commit comments