style: remove unused method
There is no `rubocop` formula, so this method cannot possibly be used without erroring out.
This commit is contained in:
parent
cc5df09845
commit
3d4df6ff2a
@ -320,12 +320,6 @@ module Homebrew
|
|||||||
HOMEBREW_REPOSITORY.glob(".github/workflows/*.yml")
|
HOMEBREW_REPOSITORY.glob(".github/workflows/*.yml")
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.rubocop
|
|
||||||
require "formula"
|
|
||||||
ensure_formula_installed!("rubocop", latest: true,
|
|
||||||
reason: "Ruby style checks").opt_bin/"rubocop"
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.shellcheck
|
def self.shellcheck
|
||||||
require "formula"
|
require "formula"
|
||||||
ensure_formula_installed!("shellcheck", latest: true,
|
ensure_formula_installed!("shellcheck", latest: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user