We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d25662 commit 32907bbCopy full SHA for 32907bb
cmd/init.go
@@ -95,12 +95,7 @@ func createGitIgnoreFile() error {
95
}
96
defer gitIgnoreFile.Close()
97
98
- content := `# Codacy CLI
99
-tools-configs/
100
-.gitignore
101
-cli-config.yaml
102
-logs/
103
-`
+ content := "# Codacy CLI\ntools-configs/\n.gitignore\ncli-config.yaml\nlogs/\n"
104
if _, err := gitIgnoreFile.WriteString(content); err != nil {
105
return fmt.Errorf("failed to write to .gitignore file: %w", err)
106
0 commit comments