Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List command displays Legacy CLI version instead of the correct one #173

Closed
akalipetis opened this issue Feb 20, 2024 · 0 comments · Fixed by #185
Closed

List command displays Legacy CLI version instead of the correct one #173

akalipetis opened this issue Feb 20, 2024 · 0 comments · Fixed by #185
Labels
bug Something isn't working

Comments

@akalipetis
Copy link
Member

akalipetis commented Feb 20, 2024

Steps to reproduce:

  1. Run platform --version
  2. Run platform list | head -n 1
  3. Both commands should output the same version

Technical details

The CLI version should be overwritten when the command list is fetched from the Legacy CLI.

cli/commands/list.go

Lines 66 to 69 in ee641b8

// Override the application name and executable with our own config.
list.Application.Name = cnf.Application.Name
list.Application.Executable = cnf.Application.Executable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant