Skip to content

Commit

Permalink
Align terms with registry
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Dec 5, 2024
1 parent dfe1539 commit 0d4b44e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@ func (c *versionCmd) run(cmd *cobra.Command, _ []string) error {

details := consts.VersionDetails()
if exts := ext.GetAll(); len(exts) > 0 {
ext := make([]map[string]string, 0, len(exts))
ext := make([]map[string]interface{}, 0, len(exts))
for _, e := range exts {
ext = append(ext, map[string]string{
"name": e.Name,
"type": e.Type.String(),
ext = append(ext, map[string]interface{}{
"imports": []string{e.Name}, // TODO: aggregate by module
"version": e.Version,
"path": e.Path,
"module": e.Path,
})
}

Expand Down

0 comments on commit 0d4b44e

Please sign in to comment.