diff --git a/internal/infra/templater/generator.go b/internal/infra/templater/generator.go index 4528796..575a2d0 100644 --- a/internal/infra/templater/generator.go +++ b/internal/infra/templater/generator.go @@ -291,12 +291,6 @@ func (t *ServiceGenerator) writeToFile(filePath string, content string) (string, return "", err } - // Check if the file already exists. - if _, err := os.Stat(filePath); !os.IsNotExist(err) { - // If the file exists, return the file path. - return filePath, nil - } - // Open the file for writing. f, err := os.Create(filePath) if err != nil {