Skip to content

Commit ee24bba

Browse files
committed
chore: remove useless function
1 parent 6e0c163 commit ee24bba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/lint/linter/config.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ func IsGoLowerThanGo122() func(cfg *config.Config) error {
167167
return isGoLowerThanGo("1.22")
168168
}
169169

170-
func IsGoLowerThanGo124() func(cfg *config.Config) error {
171-
return isGoLowerThanGo("1.24")
172-
}
173-
174170
func isGoLowerThanGo(v string) func(cfg *config.Config) error {
175171
return func(cfg *config.Config) error {
176172
if cfg == nil || config.IsGoGreaterThanOrEqual(cfg.Run.Go, v) {

0 commit comments

Comments
 (0)