aboutsummaryrefslogtreecommitdiff
path: root/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'file.go')
-rw-r--r--file.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.go b/file.go
index 75842dd..4e8d565 100644
--- a/file.go
+++ b/file.go
@@ -35,7 +35,7 @@ var reCopyrightText = regexp.MustCompile(`^(//+|#+|/\*+|<!--+)?\s?SPDX-FileCopyr
// REUSE-IgnoreEnd
type file struct {
- matchLicense *configMatchLicense
+ matchLicense *matchLicense
path string
@@ -357,7 +357,7 @@ func (f *file) applyCopyrightText(conv *SPDXConv) (err error) {
}
// Verify that the line actually match with one of
// match-copyright pattern.
- var cmc *configMatchCopyright
+ var cmc *matchCopyright
for _, cmc = range conv.cfg.MatchCopyright {
if cmc.match(string(line)) {
f.copyrightYear = cmc.year