mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
fix type error, pager.bin is already a string
This commit is contained in:
1 parent
d04b960c05
commit
335eff51f3
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ impl OutputType {
|
|||||||
Err(_) => {
|
Err(_) => {
|
||||||
crate::bat_warning!(
|
crate::bat_warning!(
|
||||||
"Pager '{}' not found, outputting to stdout instead",
|
"Pager '{}' not found, outputting to stdout instead",
|
||||||
pager.bin.to_string_lossy()
|
pager.bin
|
||||||
);
|
);
|
||||||
return Ok(OutputType::stdout());
|
return Ok(OutputType::stdout());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user