mirror of
https://github.com/gosticks/brew.git
synced 2026-08-16 22:50:18 +00:00
Fix #nice_version.
This commit is contained in:
@@ -67,7 +67,8 @@ module Homebrew
|
||||
|
||||
sig { returns(T::Array[String]) }
|
||||
def nice_parts
|
||||
short_version = self.short_version&.delete_suffix("(#{version})") if version
|
||||
short_version = self.short_version
|
||||
short_version = short_version&.delete_suffix("(#{version})") if version
|
||||
|
||||
return [short_version] if short_version == version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user