scaleway-cli icon indicating copy to clipboard operation
scaleway-cli copied to clipboard

Invalid JSON on update

Open guyguy333 opened this issue 4 years ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Command attempted

scw rdb instance list --output=json

Expected Behavior

A valid JSON output even if there is a new CLI version available

Actual Behavior

[...](VALID JSON) a new version of scw is available (2.3.1), beware that you are currently running 2.3.0

new version message breaks JSON parsing.

More info

Run a command with version 2.3.0 to reproduce

guyguy333 avatar Jun 12 '21 15:06 guyguy333

#1478

remyleone avatar Apr 21 '22 09:04 remyleone

Done on #2513

Monitob avatar Jan 12 '23 13:01 Monitob

This is not enough, the broken behavior is not tested

Codelax avatar Jan 12 '23 13:01 Codelax