Skip to content

Commit

Permalink
fix: include-header
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf committed Jan 11, 2024
1 parent c5693e6 commit ae5d0d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ func loadTemplate(templateFile string, includeHeader bool) (readmeTpl string, er
|{{$val.zh}}|{{$val.en}}|{{$val.jd}}|
{{- end}}`
}
fmt.Printf("#%v#\n", includeHeader)
if includeHeader {
readmeTpl = fmt.Sprintf("> This file was generated by [%s](%s) via [yaml-readme](https://github.com/LinuxSuRen/yaml-readme), please don't edit it directly!\n\n",
filepath.Base(templateFile), filepath.Base(templateFile))
Expand Down

0 comments on commit ae5d0d8

Please sign in to comment.