Skip to content

Commit

Permalink
Merge pull request go-bindata#66 from LorbusChris/patch-1
Browse files Browse the repository at this point in the history
Add newline after header message, before `\\ sources:`
  • Loading branch information
liweiv authored Apr 27, 2021
2 parents 771f8d8 + 9d9ebcb commit 26949cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func Translate(c *Config) error {
defer bfd.Flush()

// Write the header. This makes e.g. Github ignore diffs in generated files.
if _, err = fmt.Fprintf(bfd, "// Code generated by go-bindata. (@generated) DO NOT EDIT.\n\n// Package %s generated by go-bindata.", c.Package); err != nil {
if _, err = fmt.Fprintf(bfd, "// Code generated by go-bindata. (@generated) DO NOT EDIT.\n\n// Package %s generated by go-bindata.\n", c.Package); err != nil {
return err
}
if _, err = fmt.Fprint(bfd, "// sources:\n"); err != nil {
Expand Down

0 comments on commit 26949cc

Please sign in to comment.