mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore(Makefile): use linter version from dogfood Dockerfile (#11147)
* chore(Makefile): use golangci-lint version from dogfood Dockerfile * chore(dogfood/Dockerfile): update golangci-lint to latest version * chore(coderd): address linter complaints
This commit is contained in:
@@ -79,9 +79,8 @@ func Ascending[T constraints.Ordered](a, b T) int {
|
||||
return -1
|
||||
} else if a == b {
|
||||
return 0
|
||||
} else {
|
||||
return 1
|
||||
}
|
||||
return 1
|
||||
}
|
||||
|
||||
func Descending[T constraints.Ordered](a, b T) int {
|
||||
|
||||
Reference in New Issue
Block a user