Skip to content

Commit

Permalink
gci
Browse files Browse the repository at this point in the history
  • Loading branch information
zeucapua committed Oct 10, 2024
1 parent b719202 commit 82a6a96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/generate/config/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ func generateOutputFile(outputPath string, attributionMap map[string][]string) e
defer file.Close()

// write the header preamble
_, err = file.WriteString("# Configuration for attributing commits with emails to GitHub user profiles\n# Used during codeowners generation.\n\n# List the emails associated with the given username\n# The commits associated with these emails will be attributed to\n# the username in this yaml map. Any number of emails may be listed\n\n")
_, err = file.WriteString("# Configuration for attributing commits with emails to GitHub user profiles\n# Used during codeowners generation.\n\n# List the emails associated with the given username\n# The commits associated with these emails will be attributed to\n# the username in this yaml map. Any number of emails may be listed\n\n")

if err != nil {
return fmt.Errorf("error writing to %s file: %w", outputPath, err)
}

var config config.Spec
config.Attributions = attributionMap
Expand Down

0 comments on commit 82a6a96

Please sign in to comment.