From 412852bd5ff070e5337fa7cb858c129830ab2fc8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 19 Feb 2024 14:05:12 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Markus Reiter --- Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb b/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb index 3b8664573f120..92f5108d613da 100644 --- a/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb +++ b/Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb @@ -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 @@ def tar_args end undef gnu_tar + sig { params(gnu_tar_formula: Formula).returns(String) } def gnu_tar(gnu_tar_formula) "#{gnu_tar_formula.opt_bin}/gtar"