Skip to content

Commit

Permalink
Add license.mit filename to detector (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
amirbenun authored Mar 8, 2023
1 parent 1395998 commit d99858a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions detector/detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit d99858a

Please sign in to comment.