Remove unnecessary if.

This commit is contained in:
Markus Reiter 2024-02-12 08:08:36 +01:00
parent c5a877d7db
commit 562d5295f4
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -500,7 +500,7 @@ module Formulary
def initialize(name, path, alias_path: T.unsafe(nil), tap: T.unsafe(nil))
@name = name
@path = path
@alias_path = alias_path if alias_path
@alias_path = alias_path
@tap = tap
end