Skip to content

Version number printed at wrong place with AWS CLI v1 #4

@toricls

Description

@toricls

Since the AWS CLI v1 outputs its version number to the standard error, the version number value is not stored in the variable.

Behavior

...
-------------------------------------------------------------
Prerequisites for the AWS CLI to use ECS Exec
-------------------------------------------------------------
aws-cli/1.19.32 Python/2.7.16 Darwin/20.3.0 botocore/1.20.32
  AWS CLI Version        | OK ()
...

Expected

...
-------------------------------------------------------------
Prerequisites for the AWS CLI to use ECS Exec
-------------------------------------------------------------
  AWS CLI Version        | OK (aws-cli/1.19.32 Python/2.7.16 Darwin/20.3.0 botocore/1.20.32)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions