Skip to content

Commit 5555395

Browse files
author
MarcoFalke
committed
lint: Use git --no-pager to print any output in one go
1 parent fa57294 commit 5555395

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/lint/test_runner/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ type LintFn = fn() -> LintResult;
1414

1515
/// Return the git command
1616
fn git() -> Command {
17-
Command::new("git")
17+
let mut git = Command::new("git");
18+
git.arg("--no-pager");
19+
git
1820
}
1921

2022
/// Return stdout

0 commit comments

Comments
 (0)