From 9fb85049fe55fd63f0db157cd123d3e0401e551d Mon Sep 17 00:00:00 2001 From: Joe Wang <106995533+JoeWang1127@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:44:21 -0400 Subject: [PATCH] chore: add a log in config checker (#2696) In this PR: - Add a log when the config validation succeeds. Context: I tested the checker in [here](https://github.com/googleapis/google-cloud-java/actions/runs/8884272073/job/24392990025?pr=10761). It will be good if the checker emit a log when the check passed. --- library_generation/cli/entry_point.py | 1 + 1 file changed, 1 insertion(+) diff --git a/library_generation/cli/entry_point.py b/library_generation/cli/entry_point.py index a8c9c3ee0d..960fae8693 100644 --- a/library_generation/cli/entry_point.py +++ b/library_generation/cli/entry_point.py @@ -161,6 +161,7 @@ def validate_generation_config(generation_config_path: str) -> None: generation_config_path = "generation_config.yaml" try: from_yaml(os.path.abspath(generation_config_path)) + print(f"{generation_config_path} is validated without any errors.") except ValueError as err: print(err) sys.exit(1)