Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Oct 12, 2024
1 parent 99cd473 commit 2978df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (r *API) LatestVersion() (*Version, error) {
if env.IsArm() {
arch = "arm64"
}
slices.DeleteFunc(version.Downloads, func(item VersionDownload) bool {
version.Downloads = slices.DeleteFunc(version.Downloads, func(item VersionDownload) bool {
return item.Arch != arch
})

Expand Down

0 comments on commit 2978df4

Please sign in to comment.