diff --git a/detector/detector.go b/detector/detector.go index f1c2d46..1a21e29 100644 --- a/detector/detector.go +++ b/detector/detector.go @@ -270,6 +270,7 @@ func buildLicenceRegex() *regexp.Regexp { // inspired by https://github.com/src-d/go-license-detector/blob/7961dd6009019bc12778175ef7f074ede24bd128/licensedb/internal/investigation.go#L29 licenceFileNames := []string{ `li[cs]en[cs]es?`, + `license.(mit|apache)`, `legal`, `copy(left|right|ing)`, `unlicense`,