diff --git a/internal/license/resolve.go b/internal/license/resolve.go index 5207e92..5e86921 100644 --- a/internal/license/resolve.go +++ b/internal/license/resolve.go @@ -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) {