Skip to content

Commit 898ffc4

Browse files
fix(rule): ScopeEnumRule Scopes are not sorted for search
1 parent 21d0f8d commit 898ffc4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rule/enum.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ func (r *ScopeEnumRule) Apply(arg interface{}, flags map[string]interface{}) err
4848
if err != nil {
4949
return errInvalidFlag(r.Name(), "allow-empty", err)
5050
}
51-
return nil
5251
}
5352

5453
// sorting the string elements for binary search

0 commit comments

Comments
 (0)