You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bundle exec rubocop
An error occurred while Bundler/DuplicatedGroup cop was inspecting /home/user/Git/2factorauth/twofactorauth/Gemfile.
To see the complete backtrace run rubocop -d.
Inspecting 15 files
An error occurred while Bundler/DuplicatedGroup cop was inspecting /home/user/Git/2factorauth/twofactorauth/Gemfile.
To see the complete backtrace run rubocop -d.
$ echo$?
1
...............
15 files inspected, no offenses detected
1 error occurred:
An error occurred while Bundler/DuplicatedGroup cop was inspecting /home/user/Git/2factorauth/twofactorauth/Gemfile.
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.https://github.com/rubocop/rubocop/issuesMention the following information in the issue report:1.56.0 (using Parser 3.2.2.3, rubocop-ast 1.29.0, running on ruby 3.1.2) [x86_64-linux-gnu]
Scanning /home/user/Git/2factorauth/twofactorauth/Gemfile
An error occurred while Bundler/DuplicatedGroup cop was inspecting /home/user/Git/2factorauth/twofactorauth/Gemfile.
undefined method `value' for s(:hash,
s(:pair,
s(:sym, :optional),
s(:true))):RuboCop::AST::HashNode
.group_by { |node| node.arguments.map(&:value).map(&:to_s).sort }
^^^^
Did you mean? values
Steps to reproduce the problem
Run Rubocop (using a version where #12074 is included) with the following Gemfile:
Expected behavior
Preferably, to Rubocop not to return errors.
Actual behavior
Steps to reproduce the problem
Run Rubocop (using a version where #12074 is included) with the following Gemfile:
RuboCop version
$ bundle exec rubocop -V 1.56.0 (using Parser 3.2.2.3, rubocop-ast 1.29.0, running on ruby 3.1.2) [x86_64-linux-gnu]
The text was updated successfully, but these errors were encountered: