Skip to content

Commit

Permalink
ci(json-schema-check): allow nested config paths (#294)
Browse files Browse the repository at this point in the history
Signed-off-by: amadeuszsz <amadeusz.szymko.2@tier4.jp>
  • Loading branch information
amadeuszsz authored May 24, 2024
1 parent 61bc6c5 commit 3796c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json-schema-check/validate_json_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
config_dir = os.path.dirname(schema_file).replace('schema', 'config')

str_indentation = ' ' * 4
config_files = glob.glob(f'{config_dir}/{base_name}*.param.yaml')
config_files = glob.glob(f'{config_dir}/**/{base_name}*.param.yaml', recursive=True)
if not config_files:
print(colorama.Fore.YELLOW + f'{str_indentation}No configuration files found for schema {schema_file}.')
continue
Expand Down

0 comments on commit 3796c20

Please sign in to comment.