Skip to content

Commit

Permalink
Update Salt Prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
karacurt committed Oct 1, 2024
1 parent db738c9 commit 53b12cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ func {{.DeployHandler.HandlerName}}() *cobra.Command {
fmt.Println("Please check the salt and confirm (y/n)")
var confirm string
fmt.Scanln(&confirm)
if confirm != "y" {
if confirm != "y" && confirm != "Y" && confirm != "\n" && confirm != "" {
return fmt.Errorf("salt not accepted, please specify a valid salt")
}
} else {
Expand Down

0 comments on commit 53b12cb

Please sign in to comment.