Skip to content

[SSH Keys] keys-add doesn't display an error when an argument is missing #1227

Description

@sc-brandon

On keys-add command, when the keyname or the path to the file, it doesn't display any error. And it also still exit 0 instead of exit 1.

$ scalingo keys-add ~/.ssh/yubikey.pub     
$ echo $?
0

$ scalingo keys-add test
$ echo $?
0

It should display an error and exit 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ISTgoPull requests that update Go codeguardian

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions