2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

fix: lint

This commit is contained in:
耗子
2024-10-12 22:08:58 +08:00
parent 99cd473680
commit 2978df4981

View File

@@ -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
})