Skip to content

Commit

Permalink
fix trailing \n
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcheung committed May 26, 2020
1 parent d4b5354 commit 0545aae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eureka.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func promptKey() (string, error) {
return "", fmt.Errorf("couldn't read the key: %s", err)
}

key = strings.TrimSpace(key)
return key, nil
}

Expand Down

0 comments on commit 0545aae

Please sign in to comment.