Skip to content

Commit 0f07759

Browse files
authored
Revert 94483a4 (#103)
1 parent 9103d86 commit 0f07759

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

addlicense/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ func licenseHeader(path string, tmpl *template.Template, data LicenseData) ([]by
375375
case ".hs", ".sql", ".sdl":
376376
lic, err = executeTemplate(tmpl, data, "", "-- ", "")
377377
case ".hbs":
378-
lic, err = executeTemplate(tmpl, data, "{{!", " ", "~}}")
378+
lic, err = executeTemplate(tmpl, data, "{{!", " ", "}}")
379379
case ".html", ".htm", ".xml", ".vue", ".wxi", ".wxl", ".wxs":
380380
lic, err = executeTemplate(tmpl, data, "<!--", " ", "-->")
381381
case ".php":

addlicense/main_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func TestLicenseHeader(t *testing.T) {
335335
},
336336
{
337337
[]string{"f.hbs"},
338-
"{{!\n HYS\n~}}\n\n",
338+
"{{!\n HYS\n}}\n\n",
339339
},
340340
{
341341
[]string{"f.html", "f.htm", "f.xml", "f.vue", "f.wxi", "f.wxl", "f.wxs"},

0 commit comments

Comments
 (0)