mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 07:57:21 +08:00
fix: lint
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user