mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-05 20:39:27 +01:00
Fix clippy suggestion
This commit is contained in:
parent
f874c8e4db
commit
9ad401be87
@ -230,7 +230,7 @@ fn run() -> Result<bool> {
|
||||
if app.matches.is_present("diagnostic") {
|
||||
use bugreport::{bugreport, collector::*, format::Markdown};
|
||||
let pager = bat::config::get_pager_executable(app.matches.value_of("pager"))
|
||||
.unwrap_or("less".to_owned()); // FIXME: Avoid non-canonical path to "less".
|
||||
.unwrap_or_else(|| "less".to_owned()); // FIXME: Avoid non-canonical path to "less".
|
||||
|
||||
bugreport!()
|
||||
.info(SoftwareVersion::default())
|
||||
|
Loading…
Reference in New Issue
Block a user