aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-03 11:54:38 +0100
committerMarkus Reiter2017-02-12 23:06:35 +0100
commitf48857d24657c2cf9c8d01c781ba270cff52c8a0 (patch)
treef82ccce7c70a0ad46cc9a1538e2063ee7922c22a /Library/Homebrew/cmd
parent93724c0645f59ccdb4b4bf34f701957bacb5e45a (diff)
downloadbrew-f48857d24657c2cf9c8d01c781ba270cff52c8a0.tar.bz2
Use constants for RuboCop version.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/style.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index 586c6da6b..3d12561c1 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -47,7 +47,7 @@ module Homebrew
def check_style_impl(files, output_type, options = {})
fix = options[:fix]
- Homebrew.install_gem_setup_path! "rubocop", "0.47.1"
+ Homebrew.install_gem_setup_path! "rubocop", HOMEBREW_RUBOCOP_VERSION
args = %w[
--force-exclusion