fix indents
This commit is contained in:
2
main.go
2
main.go
@@ -238,7 +238,7 @@ func fileMatches(path string, patterns []string) bool {
|
|||||||
// addLicense add a license to the file if missing.
|
// addLicense add a license to the file if missing.
|
||||||
//
|
//
|
||||||
// It returns true if the file was updated.
|
// 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 lic []byte
|
||||||
var err error
|
var err error
|
||||||
lic, err = licenseHeader(path, tmpl, data)
|
lic, err = licenseHeader(path, tmpl, data)
|
||||||
|
|||||||
Reference in New Issue
Block a user