From 8106a7a11b67d1c196fb2e3a2a038db4ce63590f Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 28 Oct 2020 10:22:15 -0700 Subject: [PATCH] fix(dev-infra): clean up output of `caretaker check` command (#39474) Suppress the logging of the git command executed during the caretaker check process. PR Close #39474 --- dev-infra/caretaker/check/check.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-infra/caretaker/check/check.ts b/dev-infra/caretaker/check/check.ts index fdbdbe31c4..cb3952711b 100644 --- a/dev-infra/caretaker/check/check.ts +++ b/dev-infra/caretaker/check/check.ts @@ -21,6 +21,8 @@ export async function checkServiceStatuses(githubToken: string) { const config = getCaretakerConfig(); /** The GitClient for interacting with git and Github. */ const git = new GitClient(githubToken, config); + // Prevent logging of the git commands being executed during the check. + GitClient.LOG_COMMANDS = false; // TODO(josephperrott): Allow these checks to be loaded in parallel. await printServiceStatuses();