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, "(**", " ", "*)")
|
||||
case ".ts":
|
||||
lic, err = executeTemplate(tmpl, data, "/**", " * ", " */")
|
||||
if err != nil {
|
||||
if err != nil {
|
||||
lic, err = executeTemplate(tmpl, data, "<!--", " ", "-->")
|
||||
}
|
||||
}
|
||||
default:
|
||||
// handle various cmake files
|
||||
if base == "cmakelists.txt" || strings.HasSuffix(base, ".cmake.in") || strings.HasSuffix(base, ".cmake") {
|
||||
|
||||
Reference in New Issue
Block a user