shell_command: fix typecheck error

This commit is contained in:
Ruoyu Zhong 2024-07-15 15:39:10 -04:00
parent 5fc0fe21a7
commit dba8a13b74
No known key found for this signature in database

View File

@ -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. " \