Skip to content

Instantly share code, notes, and snippets.

@peterberkenbosch
Created September 14, 2020 09:00
Show Gist options
  • Save peterberkenbosch/0c35e74380bb6c46417459713aa81290 to your computer and use it in GitHub Desktop.
Save peterberkenbosch/0c35e74380bb6c46417459713aa81290 to your computer and use it in GitHub Desktop.
Stacktrace rubocop-ast 0.4.0 affirm_v2
An error occurred while Layout/LineLength cop was inspecting /Users/peterberkenbosch/code/solidusio-contrib/solidus_affirm_v2/spec/views/spree/checkout/payment/affirm_v2_spec.rb:14:4.
can't modify frozen Array
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/mixin/check_line_breakable.rb:174:in `pop'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/mixin/check_line_breakable.rb:174:in `process_args'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/mixin/check_line_breakable.rb:47:in `extract_breakable_node'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/layout/line_length.rb:102:in `check_for_breakable_node'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/layout/line_length.rb:75:in `on_potential_breakable_node'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:91:in `block (2 levels) in trigger_responding_cops'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:113:in `with_cop_error_handling'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:90:in `block in trigger_responding_cops'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:89:in `each'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:89:in `trigger_responding_cops'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:61:in `block (2 levels) in <class:Commissioner>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `block in on_begin'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `each'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `on_begin'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:173:in `on_block'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `block in on_begin'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `each'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `on_begin'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:173:in `on_block'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `block in on_begin'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `each'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:59:in `on_begin'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:62:in `block (2 levels) in <class:Commissioner>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-ast-0.4.0/lib/rubocop/ast/traversal.rb:14:in `walk'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/commissioner.rb:74:in `investigate'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/team.rb:151:in `investigate_partial'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cop/team.rb:83:in `investigate'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:296:in `inspect_file'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:246:in `block in do_inspection_loop'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:278:in `block in iterate_until_no_changes'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:271:in `loop'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:271:in `iterate_until_no_changes'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:242:in `do_inspection_loop'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:122:in `block in file_offenses'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:147:in `file_offense_cache'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:120:in `file_offenses'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:111:in `process_file'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:90:in `block in each_inspected_file'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:89:in `each'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:89:in `reduce'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:89:in `each_inspected_file'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:78:in `inspect_files'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/runner.rb:39:in `run'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cli/command/execute_runner.rb:21:in `execute_runner'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cli/command/execute_runner.rb:13:in `run'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cli/command.rb:10:in `run'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cli/environment.rb:17:in `run'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cli.rb:65:in `run_command'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cli.rb:72:in `execute_runners'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/lib/rubocop/cli.rb:41:in `run'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/exe/rubocop:13:in `block in <top (required)>'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
/Users/peterberkenbosch/.gem/ruby/2.6.6/gems/rubocop-0.87.1/exe/rubocop:12:in `<top (required)>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/bin/rubocop:23:in `load'
/Users/peterberkenbosch/.gem/ruby/2.6.6/bin/rubocop:23:in `<top (required)>'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/Users/peterberkenbosch/.rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'
/Users/peterberkenbosch/.gem/ruby/2.6.6/bin/bundle:23:in `load'
/Users/peterberkenbosch/.gem/ruby/2.6.6/bin/bundle:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment