From dba8a13b74adb776ac7ebef6ec0f6b5ea1c478b1 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 15 Jul 2024 15:39:10 -0400 Subject: [PATCH] shell_command: fix typecheck error --- Library/Homebrew/shell_command.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/shell_command.rb b/Library/Homebrew/shell_command.rb index 8527598c5c..905cd50b23 100644 --- a/Library/Homebrew/shell_command.rb +++ b/Library/Homebrew/shell_command.rb @@ -9,6 +9,8 @@ module Homebrew sig { void } def run + T.bind(self, AbstractCommand) + sh_cmd_path = "#{self.class.dev_cmd? ? "dev-cmd" : "cmd"}/#{self.class.command_name}.sh" raise StandardError, "This command is just here for completions generation. " \