From 807111211c18630594ccbba463d7ad7f70c873f6 Mon Sep 17 00:00:00 2001 From: J Yash Sakariya Jain Date: Wed, 23 Oct 2024 18:44:58 +0530 Subject: [PATCH] git review resolved --- cmd/create/environment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/create/environment.go b/cmd/create/environment.go index bf506fa0..0248cfec 100644 --- a/cmd/create/environment.go +++ b/cmd/create/environment.go @@ -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