diff options
Diffstat (limited to 'pkgtools/pkglint/files/globaldata.go')
-rw-r--r-- | pkgtools/pkglint/files/globaldata.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/globaldata.go b/pkgtools/pkglint/files/globaldata.go index 71494a81e2b..bddc1b575f0 100644 --- a/pkgtools/pkglint/files/globaldata.go +++ b/pkgtools/pkglint/files/globaldata.go @@ -67,7 +67,7 @@ func (gd *GlobalData) Initialize() { gd.loadDeprecatedVars() } -func (gd *GlobalData) Latest(category string, re regex.RegexPattern, repl string) string { +func (gd *GlobalData) Latest(category string, re regex.Pattern, repl string) string { key := category + "/" + string(re) + " => " + repl if latest, found := gd.latest[key]; found { return latest |