From 22c5bdf2af9a0558110dba4dccd1d7096cd87537 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 15 Jul 2024 11:40:37 -0400 Subject: [PATCH] dev-cmd/rubocop: use `ShellCommand` --- Library/Homebrew/dev-cmd/rubocop.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/dev-cmd/rubocop.rb b/Library/Homebrew/dev-cmd/rubocop.rb index 1919994708..aa33151bb9 100644 --- a/Library/Homebrew/dev-cmd/rubocop.rb +++ b/Library/Homebrew/dev-cmd/rubocop.rb @@ -2,18 +2,18 @@ # frozen_string_literal: true require "abstract_command" +require "shell_command" module Homebrew - module Cmd + module DevCmd class Rubocop < AbstractCommand + include ShellCommand + cmd_args do description <<~EOS Installs, configures and runs Homebrew's `rubocop`. EOS end - - sig { override.void } - def run = raise_sh_command_error! end end end