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
Infinite loop detected in redacted.rb and caused by Layout/FirstHashElementIndentation -> Layout/ArgumentAlignment
redacted/rubocop/runner.rb:299:in `check_for_infinite_loop'
redacted/rubocop/runner.rb:282:in `block in iterate_until_no_changes'
redacted/rubocop/runner.rb:281:in `loop'
redacted/rubocop/runner.rb:281:in `iterate_until_no_changes'
redacted/rubocop/runner.rb:250:in `do_inspection_loop'
redacted/rubocop/runner.rb:130:in `block in file_offenses'
redacted/rubocop/runner.rb:155:in `file_offense_cache'
redacted/rubocop/runner.rb:129:in `file_offenses'
redacted/rubocop/runner.rb:120:in `process_file'
redacted/rubocop/runner.rb:101:in `block in each_inspected_file'
redacted/rubocop/runner.rb:100:in `each'
redacted/rubocop/runner.rb:100:in `reduce'
redacted/rubocop/runner.rb:100:in `each_inspected_file'
redacted/rubocop/runner.rb:86:in `inspect_files'
redacted/rubocop/runner.rb:47:in `run'
Steps to reproduce the problem
Use the above config
Have a source file with a correctable offense, like the following:
redacted.rb:339:15: C: [Correctable] Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
'redacted' => 'redacted',
^^^^^^^^^^^^^^^^^^
Regression
Config
Expected behavior
rubocop -A
should not have infinite loop.Actual behavior
Steps to reproduce the problem
For example,
bin/rubocop -A
RuboCop version
The text was updated successfully, but these errors were encountered: