From e0db9061d1ddec0e5d6e5e8604de17ee142cfb22 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 15 Jul 2024 11:39:50 -0400 Subject: [PATCH] cmd/formulae: use `ShellCommand` --- Library/Homebrew/cmd/formulae.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/formulae.rb b/Library/Homebrew/cmd/formulae.rb index 52b3909d5c..58c41d034b 100644 --- a/Library/Homebrew/cmd/formulae.rb +++ b/Library/Homebrew/cmd/formulae.rb @@ -2,16 +2,16 @@ # frozen_string_literal: true require "abstract_command" +require "shell_command" module Homebrew module Cmd class Formulae < AbstractCommand + include ShellCommand + cmd_args do description "List all locally installable formulae including short names." end - - sig { override.void } - def run = raise_sh_command_error! end end end