Skip to content

Release task blocked #13331

@bbatsov

Description

@bbatsov

I tried to cut a new release, but it seems some recent change messed up the docs generation:

/Users/bbatsov/projects/rubocop/lib/rubocop/cops_documentation_generator.rb:321: warning: Passing only keyword arguments to Struct#initialize will behave differently from Ruby 3.2. Please use a Hash literal like .new({k: v}) instead of .new(k: v).
rake aborted!
NoMethodError: undefined method `none?' for nil:NilClass

    return if example_objects.none?
                             ^^^^^^
/Users/bbatsov/projects/rubocop/lib/rubocop/cops_documentation_generator.rb:76:in `check_examples_to_have_the_default_enforced_style!'
/Users/bbatsov/projects/rubocop/lib/rubocop/cops_documentation_generator.rb:65:in `cops_body'
/Users/bbatsov/projects/rubocop/lib/rubocop/cops_documentation_generator.rb:323:in `print_cop_with_doc'
/Users/bbatsov/projects/rubocop/lib/rubocop/cops_documentation_generator.rb:296:in `block in print_cops_of_department'

I don't have time to debug this right now, but if I no one tackles this until Thursday I'll sort it out then.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy