Skip to content

Commit

Permalink
Delegate modified_lines_in_file to context (#730)
Browse files Browse the repository at this point in the history
This went under the radar since `modified_files` is delegated via
`Overcommit::Hook::Base`.
  • Loading branch information
Quintasan committed Oct 3, 2020
1 parent 7c2ebb2 commit ed0d0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/overcommit/hook/commit_msg/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ class Base < Overcommit::Hook::Base

def_delegators :@context, :empty_message?, :commit_message,
:update_commit_message, :commit_message_lines,
:commit_message_file
:commit_message_file, :modified_lines_in_file
end
end

0 comments on commit ed0d0ec

Please sign in to comment.