Skip to content

Commit

Permalink
Add newline after password field
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljs1990 committed Mar 16, 2020
1 parent a3a2c3d commit 5cd72e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collins/commands/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func getCollinsClient(c *cli.Context) *collins.Client {
if collins.Password == "" {
fmt.Print("Enter Password: ")
bytePassword, err := terminal.ReadPassword(int(syscall.Stdin))
fmt.Println("")
if err != nil {
fmt.Println("error reading password from terminal")
logAndDie(err.Error())
Expand Down

0 comments on commit 5cd72e4

Please sign in to comment.