mirror of
https://github.com/sharkdp/bat
synced 2024-11-27 06:10:20 +00:00
Fix clippy suggestion
This commit is contained in:
parent
f874c8e4db
commit
9ad401be87
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue