Fix style errors

This commit is contained in:
Marius Kleiner 2025-03-30 18:15:00 +02:00
parent 812f953d39
commit c18dab0e2c

View File

@ -93,11 +93,7 @@ module Homebrew
if @github
@desc = @github["description"]
@homepage = if @github["homepage"].blank?
"https://github.com/#{@github["full_name"]}"
else
@github["homepage"]
end
@homepage = @github["homepage"].presence || "https://github.com/#{@github["full_name"]}"
@license = @github["license"]["spdx_id"] if @github["license"]
end
end