1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-03-15 15:18:45 +00:00

Merge e91891c53452b14f4c1981ce7614b2c686f0bca9 into f8c5429a6c5377d854908a542907a1a8197b91ec

This commit is contained in:
ken 2024-04-08 01:40:53 +00:00 committed by GitHub
commit e1588e9e51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ where
for mapping in mappings { for mapping in mappings {
if let (matcher, MappingTarget::MapTo(s)) = mapping { if let (matcher, MappingTarget::MapTo(s)) = mapping {
let globs = map.entry(*s).or_insert_with(Vec::new); let globs = map.entry(*s).or_insert_with(Vec::new);
globs.push(matcher.glob().glob().into()); globs.push(matcher.glob().to_string());
} }
} }
map map