Skip to content

Commit 8381c80

Browse files
authored
Merge pull request #7 from wzshiming/dev
Added support for sql files
2 parents 6709751 + 4f64a1c commit 8381c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func addLicense(path string, fmode os.FileMode, typ string, data *copyrightData)
127127
lic, err = prefix(typ, data, "", ";; ", "")
128128
case ".erl":
129129
lic, err = prefix(typ, data, "", "% ", "")
130-
case ".hs":
130+
case ".hs", ".sql":
131131
lic, err = prefix(typ, data, "", "-- ", "")
132132
case ".html", ".xml":
133133
lic, err = prefix(typ, data, "<!--", " ", "-->")

0 commit comments

Comments
 (0)