Skip to content

Commit

Permalink
Fix rubocop issues following update (#12)
Browse files Browse the repository at this point in the history
It looks like rubocop 0.78 has changed the name of the cop for handling exceptions, making a more specific one for when exceptions are suppressed.

This resolves the issues with the build, and should get Travis green again.
  • Loading branch information
Cruikshanks committed Jan 3, 2020
1 parent ce82b42 commit 3c8a6a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Bundler::GemHelper.install_tasks
# This is wrapped to prevent an error when rake is called in environments where
# rspec may not be available, e.g. production. As such we don't need to handle
# the error.
# rubocop:disable Lint/HandleExceptions
# rubocop:disable Lint/SuppressedException
begin
require "rspec/core/rake_task"

Expand All @@ -30,4 +30,4 @@ begin
rescue LoadError
# no changelog available
end
# rubocop:enable Lint/HandleExceptions
# rubocop:enable Lint/SuppressedException

0 comments on commit 3c8a6a0

Please sign in to comment.