From 38c00934d64be535a5c64076c2640d89d6a63b4a Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Wed, 12 Jul 2023 01:24:19 +0800 Subject: [PATCH] os/mac/mach: better typechecking fix Co-authored-by: Douglas Eichelberger --- Library/Homebrew/os/mac/mach.rbi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/os/mac/mach.rbi b/Library/Homebrew/os/mac/mach.rbi index 74fcd8ad57..0fbefdff4c 100644 --- a/Library/Homebrew/os/mac/mach.rbi +++ b/Library/Homebrew/os/mac/mach.rbi @@ -3,5 +3,5 @@ module MachOShim include Kernel - def dirname; end + requires_ancestor { Pathname } end