From 2ef745445b9e3b6e61e61ed0b5be37f23dff8891 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 15 Jul 2024 11:39:45 -0400 Subject: [PATCH] cmd/casks: use `ShellCommand` --- Library/Homebrew/cmd/casks.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/casks.rb b/Library/Homebrew/cmd/casks.rb index ec9ebafe41..4bc6ace0e8 100644 --- a/Library/Homebrew/cmd/casks.rb +++ b/Library/Homebrew/cmd/casks.rb @@ -2,18 +2,18 @@ # frozen_string_literal: true require "abstract_command" +require "shell_command" # This Ruby command exists to allow generation of completions for the Bash # version. It is not meant to be run. module Homebrew module Cmd class Casks < AbstractCommand + include ShellCommand + cmd_args do description "List all locally installable casks including short names." end - - sig { override.void } - def run = raise_sh_command_error! end end end