Skip to content

Commit

Permalink
make -a works
Browse files Browse the repository at this point in the history
  • Loading branch information
tqbf committed Mar 26, 2021
1 parent 91c0900 commit fdefe8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/ssh_terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ func runSSHConsole(ctx *cmdctx.CmdContext) error {

terminal.Debugf("Retrieving app info for %s\n", ctx.AppConfig.AppName)

if ctx.AppConfig.AppName == "" {
ctx.AppConfig.AppName = ctx.AppName
}

app, err := client.GetApp(ctx.AppConfig.AppName)
if err != nil {
return fmt.Errorf("get app: %w", err)
Expand Down

0 comments on commit fdefe8a

Please sign in to comment.