Update vals package to v0.39.2 (#1938)

* Update vals package to v0.39.2

Signed-off-by: Aditya Menon <amenon@canarytechnologies.com>

* fix golangci lint file

Signed-off-by: Aditya Menon <amenon@canarytechnologies.com>

---------

Signed-off-by: Aditya Menon <amenon@canarytechnologies.com>
This commit is contained in:
Aditya Menon
2025-02-18 12:59:01 +08:00
committed by GitHub
parent a89803521d
commit 9b2710b826
4 changed files with 76 additions and 61 deletions
-2
View File
@@ -1324,7 +1324,6 @@ func (a *App) getSelectedReleases(r *Run, includeTransitiveNeeds bool) ([]state.
selectedIds := map[string]state.ReleaseSpec{}
selectedCounts := map[string]int{}
for _, r := range selected {
r := r
id := state.ReleaseToID(&r)
selectedIds[id] = r
selectedCounts[id]++
@@ -1338,7 +1337,6 @@ func (a *App) getSelectedReleases(r *Run, includeTransitiveNeeds bool) ([]state.
groupsByID := map[string][]*state.ReleaseSpec{}
for _, r := range allReleases {
r := r
groupsByID[state.ReleaseToID(&r)] = append(groupsByID[state.ReleaseToID(&r)], &r)
}