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)) }