Skip to content

Commit

Permalink
Merge pull request #7 from uw-labs/copying-filename
Browse files Browse the repository at this point in the history
Inspect COPYING files
  • Loading branch information
Nicholas Jones authored Apr 12, 2021
2 parents be97528 + 72954fa commit c3d17a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/license/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Resolve(modules []model.Module, threshold float64) ([]model.Module, error)
return modules, nil
}

var fileRgx = regexp.MustCompile(`(?i)^li[cs]en[cs]e`)
var fileRgx = regexp.MustCompile(`(?i)^(li[cs]en[cs]e|copying)`)

// locateLicenses searches for license files
func locateLicenses(path string) (lp []string, err error) {
Expand Down

0 comments on commit c3d17a4

Please sign in to comment.