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

Fix a build error #186

Merged
merged 1 commit into from
Oct 30, 2022
Merged

Fix a build error #186

merged 1 commit into from
Oct 30, 2022

Commits on Oct 29, 2022

  1. Fix a build error

    Follow up rubocop/rubocop#10987.
    
    ```console
    % bundle exec rake
    (snip)
    
    NoMethodError: undefined method `disabled' for nil:NilClass
    
          registry.disabled(config).each do |cop|
                   ^^^^^^^^^
        /Users/koic/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/bundler/gems/rubocop-479e588e16cd/lib/rubocop/comment_config.rb:94:in `inject_disabled_cops_directives'
        /Users/koic/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/bundler/gems/rubocop-479e588e16cd/lib/rubocop/comment_config.rb:78:in `analyze'
        /Users/koic/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/bundler/gems/rubocop-479e588e16cd/lib/rubocop/comment_config.rb:45:in `cop_disabled_line_ranges'
    ```
    
    It supports multiple RuboCop core versions for compatibility with
    rubocop#156.
    koic committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    0234244 View commit details
    Browse the repository at this point in the history