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:
commit
e1588e9e51
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user