cmd/vendor-install: use ShellCommand
This commit is contained in:
parent
1b62371455
commit
0e111e39a9
@ -2,10 +2,13 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "abstract_command"
|
require "abstract_command"
|
||||||
|
require "shell_command"
|
||||||
|
|
||||||
module Homebrew
|
module Homebrew
|
||||||
module Cmd
|
module Cmd
|
||||||
class VendorInstall < AbstractCommand
|
class VendorInstall < AbstractCommand
|
||||||
|
include ShellCommand
|
||||||
|
|
||||||
cmd_args do
|
cmd_args do
|
||||||
description <<~EOS
|
description <<~EOS
|
||||||
Install Homebrew's portable Ruby.
|
Install Homebrew's portable Ruby.
|
||||||
@ -15,9 +18,6 @@ module Homebrew
|
|||||||
|
|
||||||
hide_from_man_page!
|
hide_from_man_page!
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { override.void }
|
|
||||||
def run = raise_sh_command_error!
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user