Forge-agnostic software release tracker (WIP)
0

Configure Feed

Select the types of activity you want to include in your feed.

refactor(cmd): remove unnecessary conversion

Amolith (Mar 27, 2025, 2:32 PM -0600) 033012a9 ef5c8d8c

+3 -3
+3 -3
cmd/cli.go
··· 22 22 fmt.Println("Creating user", username) 23 23 24 24 fmt.Print("Enter password: ") 25 - password, err := term.ReadPassword(int(syscall.Stdin)) 25 + password, err := term.ReadPassword(syscall.Stdin) 26 26 if err != nil { 27 27 fmt.Println("Error reading password:", err) 28 28 os.Exit(1) ··· 30 30 fmt.Println() 31 31 32 32 fmt.Print("Confirm password: ") 33 - passwordConfirmation, err := term.ReadPassword(int(syscall.Stdin)) 33 + passwordConfirmation, err := term.ReadPassword(syscall.Stdin) 34 34 if err != nil { 35 35 fmt.Println("Error reading password confirmation:", err) 36 36 os.Exit(1) ··· 99 99 fmt.Printf("Checking whether password for user %s is correct\n", username) 100 100 101 101 fmt.Print("Enter password: ") 102 - password, err := term.ReadPassword(int(syscall.Stdin)) 102 + password, err := term.ReadPassword(syscall.Stdin) 103 103 if err != nil { 104 104 fmt.Println("Error reading password:", err) 105 105 os.Exit(1)