Skip to content

Commit 2c1a8ca

Browse files
committed
simplify: just never warn for less (universal default)
1 parent a240aa4 commit 2c1a8ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/output.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl OutputType {
105105
let resolved_path = match grep_cli::resolve_binary(&pager.bin) {
106106
Ok(path) => path,
107107
Err(_) => {
108-
if pager.source != PagerSource::Default && pager.bin != "less" {
108+
if pager.bin != "less" {
109109
crate::bat_warning!(
110110
"Pager '{}' not found, outputting to stdout instead",
111111
pager.bin

0 commit comments

Comments
 (0)