mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
lowercase error message
This commit is contained in:
@@ -81,7 +81,7 @@ func Clean(path string) (string, error) {
|
||||
return "", err
|
||||
}
|
||||
if root != nil && (root.Root == "" || root.Repo == "") {
|
||||
return root.Root, errors.New("Empty repo root")
|
||||
return root.Root, errors.New("empty repo root")
|
||||
}
|
||||
return root.Root, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user