mirror of
https://github.com/sharkdp/bat
synced 2026-07-27 17:41:42 +00:00
fix type error, pager.bin is already a string
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ impl OutputType {
|
||||
Err(_) => {
|
||||
crate::bat_warning!(
|
||||
"Pager '{}' not found, outputting to stdout instead",
|
||||
pager.bin.to_string_lossy()
|
||||
pager.bin
|
||||
);
|
||||
return Ok(OutputType::stdout());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user