lint: Use git --no-pager to print any output in one go

This commit is contained in:
MarcoFalke committed 2024-03-13 17:07:15 +01:00
1 parent fa5729436c
commit 5555395c15
1 file changed
+3 -1
+3 -1
View File
@@ -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