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 # frozen_string_literal: true
require "abstract_command" require "abstract_command"
require "shell_command"
module Homebrew module Homebrew
module Cmd module DevCmd
class Rubocop < AbstractCommand class Rubocop < AbstractCommand
include ShellCommand
cmd_args do cmd_args do
description <<~EOS description <<~EOS
Installs, configures and runs Homebrew's `rubocop`. Installs, configures and runs Homebrew's `rubocop`.
EOS EOS
end end
sig { override.void }
def run = raise_sh_command_error!
end end
end end
end end