diff options
Diffstat (limited to 'file.go')
| -rw-r--r-- | file.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
