@@ -47,7 +47,7 @@ func AddEnvironmentToConfig(c *cli.Context, cfg *CLIConfig, environmentID string
4747 }
4848
4949 if _ , ok := cfg .Environments [environmentID ]; ok {
50- return errors .Errorf ("Environment %q is already initialized. " , environmentID )
50+ return errors .Errorf ("environment %q is already initialized" , environmentID )
5151 }
5252
5353 env := Environment {
@@ -80,7 +80,7 @@ func updateEnvironmentInConfig(c *cli.Context, cfg *CLIConfig, environmentID str
8080
8181 environment , ok := cfg .Environments [environmentID ]
8282 if ! ok {
83- return errors .Errorf ("Environment %q not found. " , environmentID )
83+ return errors .Errorf ("environment %q not found" , environmentID )
8484 }
8585
8686 if c .NumFlags () == 0 {
@@ -135,7 +135,7 @@ func switchToEnvironment(cfg *CLIConfig, environmentID string) error {
135135
136136 _ , ok := cfg .Environments [environmentID ]
137137 if ! ok {
138- return errors .Errorf ("Environment %q not found. " , environmentID )
138+ return errors .Errorf ("environment %q not found" , environmentID )
139139 }
140140
141141 cfg .CurrentEnvironment = environmentID
@@ -151,7 +151,7 @@ func removeByID(cfg *CLIConfig, environmentID string) error {
151151
152152 _ , ok := cfg .Environments [environmentID ]
153153 if ! ok {
154- return errors .Errorf ("Environment %q not found. " , environmentID )
154+ return errors .Errorf ("environment %q not found" , environmentID )
155155 }
156156
157157 delete (cfg .Environments , environmentID )
0 commit comments