Fix trailing white space

This commit is contained in:
Carlo Cabrera 2021-10-27 18:33:56 +08:00
parent 457de40117
commit 12f5e196f8
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -133,7 +133,6 @@ class Keg
def openjdk_dep_name_if_applicable def openjdk_dep_name_if_applicable
deps = runtime_dependencies deps = runtime_dependencies
return if deps.blank? return if deps.blank?
dep_names = deps.map { |d| d["full_name"] } dep_names = deps.map { |d| d["full_name"] }
dep_names.find { |d| d.match? Version.formula_optionally_versioned_regex(:openjdk) } dep_names.find { |d| d.match? Version.formula_optionally_versioned_regex(:openjdk) }
end end