Skip to content

Commit

Permalink
Also update types header if template version changed
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Oct 11, 2024
1 parent 45e51d5 commit 1857c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ev-dev-tools/src/ev_cli/ev.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def types_genhdr(args):
if not args.disable_clang_format:
helpers.clang_format(args.clang_format_file, type_parts['types'])

helpers.write_content_to_file(type_parts['types'], primary_update_strategy, args.diff)
helpers.write_content_to_file_and_check_template(type_parts['types'], primary_update_strategy, args.diff)


def types_get_templates(args):
Expand Down

0 comments on commit 1857c27

Please sign in to comment.