diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-03-13 17:16:53 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-03-13 17:07:15 +0100 |
commit | 5555395c15e896230a55c131fc3cbfd9d116adf8 (patch) | |
tree | f6fafc94aa18ad93162a10edd3c41d1d9a524d6f /test/lint | |
parent | fa5729436ca12b20cfa2cd1f0c6f54af7192f0a6 (diff) |
lint: Use git --no-pager to print any output in one go
Diffstat (limited to 'test/lint')
-rw-r--r-- | test/lint/test_runner/src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lint/test_runner/src/main.rs b/test/lint/test_runner/src/main.rs index f9df576239..e22e047e4b 100644 --- a/test/lint/test_runner/src/main.rs +++ b/test/lint/test_runner/src/main.rs @@ -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 |