Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an offenses when using RuboCop 0.81.0
RuboCop 0.81 has been released. https://github.com/rubocop-hq/rubocop/releases/tag/v0.81.0 This PR fixes the following offenses when using RuboCop 0.81.0. ```console % cd path/to/rubocop-rspec % bundle exec rake internal_investigation (snip) Offenses: lib/rubocop/cop/rspec/cop.rb:4:14: W: Lint/RedundantCopDisableDirective: Unnecessary disabling of Style/Documentation. module Cop # rubocop:disable Style/Documentation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/rubocop/cop/rspec_cops.rb:12:18: W: Lint/RedundantCopDisableDirective: Unnecessary disabling of Lint/SuppressedException. rescue LoadError # rubocop:disable Lint/SuppressedException ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 202 files inspected, 2 offenses detected rake aborted! Command failed with status (1): [bundle exec rubocop --require rubocop-rspe...] /Users/koic/src/github.com/rubocop-hq/rubocop-rspec/Rakefile:32:in `block in <top (required)>' /Users/koic/.rbenv/versions/2.7.1/bin/bundle:23:in `load' /Users/koic/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>' Tasks: TOP => internal_investigation (See full trace by running task with --trace) ``` https://circleci.com/gh/rubocop-hq/rubocop-rspec/11350
- Loading branch information