Skip to content

Commit

Permalink
Merge pull request #7 from wzshiming/dev
Browse files Browse the repository at this point in the history
Added support for sql files
  • Loading branch information
x1ddos committed Jul 21, 2018
2 parents 6709751 + 4f64a1c commit 8381c80
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 @@ -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, "<!--", " ", "-->")
Expand Down

0 comments on commit 8381c80

Please sign in to comment.