style: remove unused method

There is no `rubocop` formula, so this method cannot possibly be used
without erroring out.
This commit is contained in:
Carlo Cabrera 2025-08-02 03:03:23 +08:00 committed by Carlo Cabrera
parent cc5df09845
commit 3d4df6ff2a
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -320,12 +320,6 @@ module Homebrew
HOMEBREW_REPOSITORY.glob(".github/workflows/*.yml")
end
def self.rubocop
require "formula"
ensure_formula_installed!("rubocop", latest: true,
reason: "Ruby style checks").opt_bin/"rubocop"
end
def self.shellcheck
require "formula"
ensure_formula_installed!("shellcheck", latest: true,