Skip to content

Commit

Permalink
git review resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
yashjaind11 committed Oct 23, 2024
1 parent cca031a commit 8071112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/create/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func validateAccounts(accounts string) error {
accountList := strings.Split(accounts, ",")
for _, account := range accountList {
if account == "" {
return fmt.Errorf("accounts parameter contains an empty account")
return fmt.Errorf("accounts parameter should not end with a comma")
}
}
return nil
Expand Down

0 comments on commit 8071112

Please sign in to comment.