Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit e509596

Browse files
committed
fix: patch typo
1 parent 11c83e4 commit e509596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func login(ctx context.Context, envURL *url.URL) error {
6767
q.Add("show_token", "true")
6868
authURL.RawQuery = q.Encode()
6969

70-
if err := browser.OpenURL(authURL.String()); err != nil || true {
70+
if err := browser.OpenURL(authURL.String()); err != nil {
7171
fmt.Printf("Open the following in your browser:\n\n\t%s\n\n", authURL.String())
7272
} else {
7373
fmt.Printf("Your browser has been opened to visit:\n\n\t%s\n\n", authURL.String())

0 commit comments

Comments
 (0)