Skip to content

Commit 9fb8504

Browse files
authored
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.
1 parent f2ce524 commit 9fb8504

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library_generation/cli/entry_point.py

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def validate_generation_config(generation_config_path: str) -> None:
161161
generation_config_path = "generation_config.yaml"
162162
try:
163163
from_yaml(os.path.abspath(generation_config_path))
164+
print(f"{generation_config_path} is validated without any errors.")
164165
except ValueError as err:
165166
print(err)
166167
sys.exit(1)

0 commit comments

Comments
 (0)