Fix alias_name logic

This commit is contained in:
Douglas Eichelberger 2024-12-06 11:25:51 -08:00
parent 9a2b386a52
commit e2d10337f3

View File

@ -671,7 +671,7 @@ module Formulary
alias_path = nil if alias_dir != tap&.alias_dir
super(name, path, alias_path:, tap: tap)
super(name, path, alias_path:, tap:)
end
end
@ -916,7 +916,7 @@ module Formulary
name, tap, type = name_tap_type
alias_name = alias_name.downcase if type == :alias
alias_name = (type == :alias) ? alias_name.downcase : nil
new(name, tap:, alias_name:)
end