Merge pull request #7 from wzshiming/dev

Added support for sql files
This commit is contained in:
alex
2018-07-21 15:18:07 +02:00
committed by GitHub

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, "<!--", " ", "-->")