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
This commit is contained in:
Joey Perrott 2020-10-28 10:22:15 -07:00
parent af8e547d86
commit 8106a7a11b
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ export async function checkServiceStatuses(githubToken: string) {
const config = getCaretakerConfig(); const config = getCaretakerConfig();
/** The GitClient for interacting with git and Github. */ /** The GitClient for interacting with git and Github. */
const git = new GitClient(githubToken, config); 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. // TODO(josephperrott): Allow these checks to be loaded in parallel.
await printServiceStatuses(); await printServiceStatuses();