Skip to content

Commit

Permalink
Bye Trains (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeCooper authored Oct 21, 2020
1 parent fe7d4fa commit 50128b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (h *Handler) Login(ctx context.Context, req *entity.CommandRequest) error {
return err
}

fmt.Printf(fmt.Sprintf("🎉 Logged in as %s (%s)\n", ui.Bold(user.Name), user.Email))
fmt.Printf(fmt.Sprintf("\n🎉 Logged in as %s (%s)\n", ui.Bold(user.Name), user.Email))

return nil
}
2 changes: 1 addition & 1 deletion controller/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (c *Controller) browserBasedLogin(ctx context.Context) (*entity.User, error
}()

url := getBrowserBasedLoginURL(port, code)
err = c.ConfirmBrowserOpen("Logging in...\n", url)
err = c.ConfirmBrowserOpen("Logging in...", url)

if err != nil {
// Opening the browser failed. Try browserless login
Expand Down

0 comments on commit 50128b5

Please sign in to comment.