Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed Jun 1, 2023
1 parent ce53429 commit a20c570
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ func createTemplateFile(contributors []string, templateFilePath string) error {

defer templateFile.Close()

templateFile.WriteString("\n\n")
_, err = templateFile.WriteString("\n\n")
if err != nil {
return err
}

for _, contributor := range contributors {
_, err := templateFile.WriteString(fmt.Sprintf("%s%s \n", CoAuthoredBy, contributor))
if err != nil {
Expand Down

0 comments on commit a20c570

Please sign in to comment.