Skip to content

Commit dbb045a

Browse files
fix: restore sort comment accidentally removed in list.go
Agent-Logs-Url: https://github.com/microsoft/azure-linux-dev-tools/sessions/1b729d85-f047-4447-8a61-0344df08ffc5 Co-authored-by: christopherco <35273088+christopherco@users.noreply.github.com>
1 parent 72eb96f commit dbb045a

File tree

1 file changed

+1
-0
lines changed
  • internal/app/azldev/cmds/pkg

1 file changed

+1
-0
lines changed

internal/app/azldev/cmds/pkg/list.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ func ListPackages(env *azldev.Env, options *ListPackageOptions) ([]PackageListRe
199199
})
200200
}
201201

202+
// Sort by package name for deterministic, readable output.
202203
sort.Slice(results, func(i, j int) bool {
203204
return results[i].PackageName < results[j].PackageName
204205
})

0 commit comments

Comments
 (0)