diff --git a/main.go b/main.go index 11381f5..a6c2dd5 100644 --- a/main.go +++ b/main.go @@ -238,7 +238,7 @@ func fileMatches(path string, patterns []string) bool { // addLicense add a license to the file if missing. // // It returns true if the file was updated. -func addLicense(path string, fmode os.FileMode, tmpl *template.Template, data licenseData) (bool, error) { +func addLicense(path string, fmode os.FileMode, tmpl *template.Template, data licenseData) (bool, error) { var lic []byte var err error lic, err = licenseHeader(path, tmpl, data)