Skip to content

Commit

Permalink
lint: Use git --no-pager to print any output in one go
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Mar 13, 2024
1 parent fa57294 commit 5555395
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/lint/test_runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ type LintFn = fn() -> LintResult;

/// Return the git command
fn git() -> Command {
Command::new("git")
let mut git = Command::new("git");
git.arg("--no-pager");
git
}

/// Return stdout
Expand Down

0 comments on commit 5555395

Please sign in to comment.