Skip to content

Commit

Permalink
fix(java): handle empty modules
Browse files Browse the repository at this point in the history
Fixes #1743
  • Loading branch information
suztomo committed Jan 11, 2023
1 parent 7197a00 commit 0e46aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/owlbot/java/src/fix-poms.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def main():
main_module=main_module,
)

if os.path.isfile("pom.xml"):
if os.path.isfile("pom.xml") and modules:
print("updating modules in parent pom.xml")
update_parent_pom("pom.xml", modules)
else:
Expand Down

0 comments on commit 0e46aa6

Please sign in to comment.