Skip to content

Commit

Permalink
Added support for sql files
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Jul 18, 2018
1 parent 6709751 commit 4f64a1c
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 4f64a1c

Please sign in to comment.