Added support for sql files

This commit is contained in:
wzshiming
2018-07-18 13:30:45 +08:00
parent 6709751243
commit 4f64a1cddf

View File

@@ -127,7 +127,7 @@ func addLicense(path string, fmode os.FileMode, typ string, data *copyrightData)
lic, err = prefix(typ, data, "", ";; ", "")
case ".erl":
lic, err = prefix(typ, data, "", "% ", "")
case ".hs":
case ".hs", ".sql":
lic, err = prefix(typ, data, "", "-- ", "")
case ".html", ".xml":
lic, err = prefix(typ, data, "<!--", " ", "-->")