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