aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/style.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-01-07 14:29:19 +0000
committerMike McQuaid2018-01-07 14:29:19 +0000
commit1bd7d7df04321ebf39cc39d06486768df7245650 (patch)
treed3fb9a08a938c6abf348311f0df2b07250ad8bce /Library/Homebrew/cmd/style.rb
parent4e29152603ed192e90b83b66f0ad92a676549c43 (diff)
downloadbrew-1bd7d7df04321ebf39cc39d06486768df7245650.tar.bz2
Use parser 2.4.0.0
This matches the version that supports Ruby 2.3.3 syntax (which is the version we use).
Diffstat (limited to 'Library/Homebrew/cmd/style.rb')
-rw-r--r--Library/Homebrew/cmd/style.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index 89484d67d..27047dfd0 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -70,6 +70,7 @@ module Homebrew
def check_style_impl(files, output_type, options = {})
fix = options[:fix]
+ Homebrew.install_gem_setup_path! "parser", HOMEBREW_RUBOCOP_PARSER_VERSION, "ruby-parse"
Homebrew.install_gem_setup_path! "rubocop", HOMEBREW_RUBOCOP_VERSION
require "rubocop"
require_relative "../rubocops"