mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-23 08:30:07 -03:00
fix verb mismatch in a format string
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
110822b014
commit
41478262f3
@ -51,7 +51,7 @@ func loadHeuristics(yaml *Heuristics) (map[string][]*LanguagePattern, error) {
|
||||
// unroll to a single map
|
||||
for _, ext := range disambiguation.Extensions {
|
||||
if _, ok := patterns[ext]; ok {
|
||||
return nil, fmt.Errorf("cannt add extension '%s', it already exists for %q", ext, patterns[ext])
|
||||
return nil, fmt.Errorf("cannt add extension '%s', it already exists for %+v", ext, patterns[ext])
|
||||
}
|
||||
patterns[ext] = rules
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user