Skip to content

Commit

Permalink
Merge pull request #35 from YangjingZhou/master
Browse files Browse the repository at this point in the history
feat: add vue file type
  • Loading branch information
mco-gh committed Apr 22, 2020
2 parents 474f49e + d5a1286 commit 68a83ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func licenseHeader(path string, tmpl *template.Template, data *copyrightData) ([
lic, err = prefix(tmpl, data, "", "% ", "")
case ".hs", ".sql":
lic, err = prefix(tmpl, data, "", "-- ", "")
case ".html", ".xml":
case ".html", ".xml", ".vue":
lic, err = prefix(tmpl, data, "<!--", " ", "-->")
case ".php":
lic, err = prefix(tmpl, data, "", "// ", "")
Expand Down

0 comments on commit 68a83ed

Please sign in to comment.