Skip to content

Commit

Permalink
fix Style/RedundantParentheses
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>
  • Loading branch information
nodeg committed Apr 16, 2024
1 parent d2559f7 commit f02976e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tetra/pom_getter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class PomGetter
# saves a jar poms in <jar_filename>.pom
# returns filename and status if found, else nil
def get_pom(filename)
content, status = (get_pom_from_jar(filename) || get_pom_from_sha1(filename) || get_pom_from_heuristic(filename))
content, status = get_pom_from_jar(filename) || get_pom_from_sha1(filename) || get_pom_from_heuristic(filename)
return unless content

pom_filename = filename.sub(/(\.jar)?$/, ".pom")
Expand Down

0 comments on commit f02976e

Please sign in to comment.