From 31d35937f5c8e6b74a4760c6cf606f1e52030b8b Mon Sep 17 00:00:00 2001 From: Anthony HAMON Date: Wed, 17 Jul 2024 08:02:36 +0200 Subject: [PATCH] Fix typo in error message --- internal/workspace/workspace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/workspace/workspace.go b/internal/workspace/workspace.go index df7c1ac..2c1e3a4 100644 --- a/internal/workspace/workspace.go +++ b/internal/workspace/workspace.go @@ -180,7 +180,7 @@ func (s WorkspaceManager) CreateEnv(name string, env string) error { return err } if s.hasEnv(name, env) { - return fmt.Errorf(`env "%s" already exists`, name) + return fmt.Errorf(`env "%s" already exists`, env) } return s.createFile(s.resolveEnvFile(name, env)) }