up
This commit is contained in:
4
main.go
4
main.go
@@ -300,9 +300,9 @@ func licenseHeader(path string, tmpl *template.Template, data licenseData) ([]by
|
|||||||
lic, err = executeTemplate(tmpl, data, "(**", " ", "*)")
|
lic, err = executeTemplate(tmpl, data, "(**", " ", "*)")
|
||||||
case ".ts":
|
case ".ts":
|
||||||
lic, err = executeTemplate(tmpl, data, "/**", " * ", " */")
|
lic, err = executeTemplate(tmpl, data, "/**", " * ", " */")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
lic, err = executeTemplate(tmpl, data, "<!--", " ", "-->")
|
lic, err = executeTemplate(tmpl, data, "<!--", " ", "-->")
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
// handle various cmake files
|
// handle various cmake files
|
||||||
if base == "cmakelists.txt" || strings.HasSuffix(base, ".cmake.in") || strings.HasSuffix(base, ".cmake") {
|
if base == "cmakelists.txt" || strings.HasSuffix(base, ".cmake.in") || strings.HasSuffix(base, ".cmake") {
|
||||||
|
|||||||
Reference in New Issue
Block a user