Skip to content

Commit 3d4df6f

Browse files
committed
style: remove unused method
There is no `rubocop` formula, so this method cannot possibly be used without erroring out.
1 parent cc5df09 commit 3d4df6f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Library/Homebrew/style.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,6 @@ def self.github_workflow_files
320320
HOMEBREW_REPOSITORY.glob(".github/workflows/*.yml")
321321
end
322322

323-
def self.rubocop
324-
require "formula"
325-
ensure_formula_installed!("rubocop", latest: true,
326-
reason: "Ruby style checks").opt_bin/"rubocop"
327-
end
328-
329323
def self.shellcheck
330324
require "formula"
331325
ensure_formula_installed!("shellcheck", latest: true,

0 commit comments

Comments
 (0)