From 0e111e39a9d52569d409ba30bca728c5cac63a71 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 15 Jul 2024 11:40:19 -0400 Subject: [PATCH] cmd/vendor-install: use `ShellCommand` --- Library/Homebrew/cmd/vendor-install.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/vendor-install.rb b/Library/Homebrew/cmd/vendor-install.rb index cf22afb18f..5995dd7682 100644 --- a/Library/Homebrew/cmd/vendor-install.rb +++ b/Library/Homebrew/cmd/vendor-install.rb @@ -2,10 +2,13 @@ # frozen_string_literal: true require "abstract_command" +require "shell_command" module Homebrew module Cmd class VendorInstall < AbstractCommand + include ShellCommand + cmd_args do description <<~EOS Install Homebrew's portable Ruby. @@ -15,9 +18,6 @@ module Homebrew hide_from_man_page! end - - sig { override.void } - def run = raise_sh_command_error! end end end