Skip to content

Commit

Permalink
chore: add a log in config checker (#2696)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JoeWang1127 committed Apr 29, 2024
1 parent f2ce524 commit 9fb8504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library_generation/cli/entry_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9fb8504

Please sign in to comment.