We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be1d6a9 commit 3134c1fCopy full SHA for 3134c1f
Gemfile
@@ -4,6 +4,6 @@ source 'https://rubygems.org'
4
gem 'coveralls'
5
6
# Pin RuboCop for Travis builds.
7
-gem 'rubocop', '0.37.2'
+gem 'rubocop', '0.39.0'
8
9
gemspec
lib/overcommit/hook_loader/plugin_hook_loader.rb
@@ -79,7 +79,7 @@ def create_ad_hoc_hook(hook_name)
79
# Implement a simple class that executes the command and returns pass/fail
80
# based on the exit status
81
hook_class = Class.new(hook_base) do
82
- def run # rubocop:disable Lint/NestedMethodDefinition
+ def run
83
result = @context.execute_hook(command)
84
85
if result.success?
0 commit comments