dev-cmd/rubocop: use ShellCommand

This commit is contained in:
Ruoyu Zhong 2024-07-15 11:40:37 -04:00
parent 0e111e39a9
commit 22c5bdf2af
No known key found for this signature in database

View File

@ -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