Skip to content

Commit

Permalink
improve: add error message when ssh credentials not found
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Le Conte des Floris <[email protected]>
  • Loading branch information
mlcdf committed Apr 4, 2023
1 parent e59f792 commit e7962ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/command/tool_ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func (c *SSHCommand) Run(_ []string) int {

credentials, ok := c.Config.SFTPCredentials[link.Hosting]
if !ok {
c.View.Println("Couldn't find credentials for", link.Hosting)
return 1
}

Expand Down

0 comments on commit e7962ce

Please sign in to comment.