Skip to content

Commit 32907bb

Browse files
committed
fx gitignore
1 parent 1d25662 commit 32907bb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cmd/init.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,7 @@ func createGitIgnoreFile() error {
9595
}
9696
defer gitIgnoreFile.Close()
9797

98-
content := `# Codacy CLI
99-
tools-configs/
100-
.gitignore
101-
cli-config.yaml
102-
logs/
103-
`
98+
content := "# Codacy CLI\ntools-configs/\n.gitignore\ncli-config.yaml\nlogs/\n"
10499
if _, err := gitIgnoreFile.WriteString(content); err != nil {
105100
return fmt.Errorf("failed to write to .gitignore file: %w", err)
106101
}

0 commit comments

Comments
 (0)