mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
dev-cmd/rubocop: use ShellCommand
This commit is contained in:
parent
0e111e39a9
commit
22c5bdf2af
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user