Skip to content

Commit

Permalink
chore: remove ending comma in owlbot.py (#2595)
Browse files Browse the repository at this point in the history
In this PR:
- Remove the last comma in the `java.common_templates` method in
`owlbot.py`

This will align with `java.common_templates` generated by
google-cloud-java's `generation/update_owlbot_postprocessor_config.sh`
  • Loading branch information
JoeWang1127 authored Mar 21, 2024
1 parent a94c2f0 commit c1cd0d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library_generation/templates/owlbot.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ for library in s.get_staging_dirs():
s.remove_staging_dirs()
{% if should_include_templates %}java.common_templates(monorepo=True, {% if template_excludes %}excludes=[
{%- for exclude in template_excludes %}
"{{ exclude }}",
"{{ exclude }}"{% if not loop.last %},{% endif %}
{%- endfor %}
]{% endif %}){% endif %}
2 changes: 1 addition & 1 deletion library_generation/test/resources/goldens/owlbot-golden.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
"java.header",
"license-checks.xml",
"renovate.json",
".gitignore",
".gitignore"
])

0 comments on commit c1cd0d1

Please sign in to comment.