[chore]: Bump golang.org/x/image from 0.9.0 to 0.11.0 (#2074)

This commit is contained in:
dependabot[bot]
2023-08-07 08:03:43 +00:00
committed by GitHub
parent c1375ca5c1
commit aaa5985d7d
6 changed files with 48 additions and 17 deletions

View File

@ -434,7 +434,7 @@ func newMatcher(supported []Tag, options []MatchOption) *matcher {
// (their canonicalization simply substitutes a different language code, but
// nothing else), the match confidence is Exact, otherwise it is High.
for i, lm := range language.AliasMap {
// If deprecated codes match and there is no fiddling with the script or
// If deprecated codes match and there is no fiddling with the script
// or region, we consider it an exact match.
conf := Exact
if language.AliasTypes[i] != language.Macro {