aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-12 23:27:22 +0100
committerGitHub2017-02-12 23:27:22 +0100
commitcfc90af3cbdcc84c3aef0121cd00e89798bf28c8 (patch)
tree1dc4e3bb2609a05d3add8f853d6da77b51cb6221 /Library/Homebrew/cmd
parent93724c0645f59ccdb4b4bf34f701957bacb5e45a (diff)
parentfd7616b8939e87423ab1785a0c0f17a44c92e571 (diff)
downloadbrew-cfc90af3cbdcc84c3aef0121cd00e89798bf28c8.tar.bz2
Merge pull request #1947 from reitermarkus/rubocop-constants
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