lib/git/lint/cli.rb in git-lint-2.3.1 vs lib/git/lint/cli.rb in git-lint-2.3.2
- old
+ new
@@ -76,10 +76,10 @@
if options.commit_message?
check_commit_message options.commit_message
else
help "--hook"
end
- rescue Errors::Base, GitPlus::Errors::Base => error
+ rescue Errors::Base, GitPlus::Error => error
abort colorizer.red("#{Identity::LABEL}: #{error.message}")
end
desc "-v, [--version]", "Show gem version."
map %w[-v --version] => :version