Skip to content

Style/ClassAndModuleChildren #693

@ryz310

Description

@ryz310

Describe the bug
A clear and concise description of what the bug is.

Error information

title: Style/ClassAndModuleChildren
message: uninitialized constant RuboCop

---
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/rubocop/yardoc.rb:51:in `const_get'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/rubocop/yardoc.rb:51:in `rescue in find_cop_class'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/rubocop/yardoc.rb:48:in `find_cop_class'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/rubocop/yardoc.rb:9:in `initialize'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/github/pr_template.rb:61:in `new'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/github/pr_template.rb:61:in `yardoc'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/github/pr_template.rb:57:in `safe_autocorrect?'
(erb):5:in `generate'
/usr/local/lib/ruby/2.7.0/erb.rb:905:in `eval'
/usr/local/lib/ruby/2.7.0/erb.rb:905:in `result'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/github/pr_template.rb:17:in `generate'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/pull_request.rb:60:in `create_rubocop_challenge_pr!'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/go.rb:111:in `create_pull_request!'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/go.rb:47:in `exec'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/lib/rubocop_challenger/cli.rb:78:in `go'
/home/circleci/.rubygems/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
/home/circleci/.rubygems/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
/home/circleci/.rubygems/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
/home/circleci/.rubygems/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
/home/circleci/.rubygems/gems/rubocop_challenger-2.10.0/exe/rubocop_challenger:6:in `<top (required)>'
/home/circleci/.rubygems/bin/rubocop_challenger:25:in `load'
/home/circleci/.rubygems/bin/rubocop_challenger:25:in `<main>'

RubocopChallenger version (please complete the following information):

  • 2.10.0

RuboCop versions (please complete the following information):

  • rubocop: [e.g. 1.2.3]
  • rubocop-performance: [e.g. 1.2.3]
  • rubocop-rails: [e.g. 1.2.3]
  • rubocop-rspec: [e.g. 1.2.3]
  • rubocop-thread_safety: [e.g. 1.2.3]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions