Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress RuboCop's deprecation warning #40

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

koic
Copy link
Member

@koic koic commented Oct 16, 2024

Follow up rubocop/rubocop#13244.

This PR suppresses the following RuboCop's deprecation warning:

$ bundle exec rake
/Users/koic/src/github.com/rubocop/rubocop-md/test/markdown_assertions.rb:74:
warning: `Team.new` with cop classes is deprecated. Use `Team.mobilize` instead.

Follow up rubocop/rubocop#13244.

This PR suppresses the following RuboCop's deprecation warning:

```console
$ bundle exec rake
/Users/koic/src/github.com/rubocop/rubocop-md/test/markdown_assertions.rb:74:
warning: `Team.new` with cop classes is deprecated. Use `Team.mobilize` instead.
```
Copy link
Collaborator

@palkan palkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@palkan palkan merged commit a2584b7 into rubocop:master Oct 17, 2024
3 checks passed
@koic koic deleted the suppress_deprecation_warning branch October 17, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants