Apply suggestions from code review
Co-authored-by: Markus Reiter <me@reitermark.us>
This commit is contained in:
parent
d7ebf97467
commit
412852bd5f
@ -4,6 +4,7 @@
|
||||
module Homebrew
|
||||
class << self
|
||||
undef tar_args
|
||||
|
||||
sig { returns(T::Array[String]) }
|
||||
def tar_args
|
||||
if MacOS.version >= :catalina
|
||||
@ -14,6 +15,7 @@ module Homebrew
|
||||
end
|
||||
|
||||
undef gnu_tar
|
||||
|
||||
sig { params(gnu_tar_formula: Formula).returns(String) }
|
||||
def gnu_tar(gnu_tar_formula)
|
||||
"#{gnu_tar_formula.opt_bin}/gtar"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user