lib/rubocop/git/runner.rb in rubocop-git-0.0.2 vs lib/rubocop/git/runner.rb in rubocop-git-0.0.3
- old
+ new
@@ -1,10 +1,10 @@
require 'shellwords'
module RuboCop
module Git
- # ref. https://github.com/thoughtbot/hound/blob/be2dd34/app/services/build_runner.rb
+ # ref. https://github.com/thoughtbot/hound/blob/d2f3933/app/services/build_runner.rb
class Runner
def run(options)
options = Options.new(options) unless options.is_a?(Options)
@options = options
@@ -20,10 +20,10 @@
end
def style_checker
StyleChecker.new(pull_request.pull_request_files,
@options.rubocop,
- @options.config_path,
+ @options.config_file,
pull_request.config)
end
def pull_request
@pull_request ||= PseudoPullRequest.new(@files, @options)