Skip to content

Commit

Permalink
Fix package name processing
Browse files Browse the repository at this point in the history
commit_hash:4b3bf4cca786391b36a288c9f7d8e1dde8174180
  • Loading branch information
say42 committed Mar 11, 2025
1 parent 9ec2994 commit 4711200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/scripts/java_pack_to_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_package_name(filename):
else:
match = JAVA_PACKAGE_REGEX.search(content)
if match:
return match.group(1).replace('\n\t ', '').replace('.', '/')
return re.sub(r'[\s]+', '', match.group(1)).replace('.', '/')
return ''


Expand Down

0 comments on commit 4711200

Please sign in to comment.