Skip to content

Commit

Permalink
remove debug false
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan-at-work committed Nov 16, 2023
1 parent e268530 commit fc20ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func newClient(appName, cookie string) (*Client, error) {
h.Set("x-iterm2-library-version", "go 3.6")
h.Set("x-iterm2-disable-auth-ui", "true")
// Disable using env var cookie due to
if cookie := os.Getenv("ITERM2_COOKIE"); cookie != "" && false {
if cookie := os.Getenv("ITERM2_COOKIE"); cookie != "" {
h.Set("x-iterm2-cookie", cookie)
} else {
resp, err := mack.Tell("iTerm2", fmt.Sprintf("request cookie and key for app named %q", appName))
Expand Down

0 comments on commit fc20ffd

Please sign in to comment.