Skip to content

AO3-5502 Fix page title of the adult content warning for chapters #1637

AO3-5502 Fix page title of the adult content warning for chapters

AO3-5502 Fix page title of the adult content warning for chapters #1637

Triggered via pull request January 12, 2025 21:24
Status Failure
Total duration 1m 50s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
Rubocop
Process completed with exit code 1.
Rubocop: app/controllers/chapters_controller.rb#L49
[rubocop] reported by reviewdog 🐶 Surrounding space missing for operator `-`. Raw Output: app/controllers/chapters_controller.rb:49:53: C: Layout/SpaceAroundOperators: Surrounding space missing for operator `-`.
Rubocop: app/controllers/chapters_controller.rb#L49
[rubocop] reported by reviewdog 🐶 Use `chapter_position.zero?` instead of `chapter_position == 0`. Raw Output: app/controllers/chapters_controller.rb:49:64: C: Style/NumericPredicate: Use `chapter_position.zero?` instead of `chapter_position == 0`.
Rubocop: app/controllers/chapters_controller.rb#L50
[rubocop] reported by reviewdog 🐶 Surrounding space missing for operator `+`. Raw Output: app/controllers/chapters_controller.rb:50:49: C: Layout/SpaceAroundOperators: Surrounding space missing for operator `+`.
Rubocop: app/controllers/chapters_controller.rb#L73
[rubocop] reported by reviewdog 🐶 Align the arguments of a method call if they span more than one line. Raw Output: app/controllers/chapters_controller.rb:73:57: C: Layout/ArgumentAlignment: Align the arguments of a method call if they span more than one line.
Rubocop: app/controllers/chapters_controller.rb#L73
[rubocop] reported by reviewdog 🐶 Align the keys of a hash literal if they span more than one line. Raw Output: app/controllers/chapters_controller.rb:73:57: C: Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
Rubocop: app/controllers/chapters_controller.rb#L73
[rubocop] reported by reviewdog 🐶 Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: app/controllers/chapters_controller.rb:73:76: C: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
ERB Lint runner
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636