lint: Use git --no-pager to print any output in one go
This commit is contained in:
1 file changed
+3
-1
@@ -14,7 +14,9 @@ type LintFn = fn() -> LintResult;
|
|||||||
|
|
||||||
/// Return the git command
|
/// Return the git command
|
||||||
fn git() -> Command {
|
fn git() -> Command {
|
||||||
Command::new("git")
|
let mut git = Command::new("git");
|
||||||
|
git.arg("--no-pager");
|
||||||
|
git
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return stdout
|
/// Return stdout
|
||||||
|
|||||||
Reference in new issue
Block a user