Skip to content

Commit

Permalink
Merge 2b2faaf into b8bf26e
Browse files Browse the repository at this point in the history
  • Loading branch information
cvortmann committed May 13, 2014
2 parents b8bf26e + 2b2faaf commit 51c89f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/pre_commit/checks/rubocop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def call(staged_files)
staged_files = staged_files.grep(/\.rb$/)
return if staged_files.empty?

args = config_file_flag + staged_files
args = config_file_flag + ["--force-exclusion"] + staged_files

success, captured = capture { ::Rubocop::CLI.new.run(args) == 0 }
captured unless success
Expand Down

0 comments on commit 51c89f1

Please sign in to comment.