chore: fix golangci-lint errors

This commit is contained in:
Oleg Lobanov committed 2024-04-01 18:24:06 +02:00
1 parent d194d71293
commit ae0af1f996
54 files changed
+452 -475

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ var hashCmd = &cobra.Command{
Short: "Hashes a password",
Long: `Hashes a password using bcrypt algorithm.`,
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
Run: func(_ *cobra.Command, args []string) {
pwd, err := users.HashPwd(args[0])
checkErr(err)
fmt.Println(pwd)