Skip to content

AO3-6587 Allow # as initial character in Ticket ID Field when editing a profile or pseud #1486

AO3-6587 Allow # as initial character in Ticket ID Field when editing a profile or pseud

AO3-6587 Allow # as initial character in Ticket ID Field when editing a profile or pseud #1486

Triggered via pull request December 15, 2024 06:21
Status Failure
Total duration 1m 47s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
Rubocop
Process completed with exit code 1.
Rubocop: app/models/concerns/justifiable.rb#L21
[rubocop] reported by reviewdog 🐶 Use a guard clause (`return if ticket_number.is_a?(Integer)`) instead of wrapping the code inside a conditional expression. Raw Output: app/models/concerns/justifiable.rb:21:5: C: Style/GuardClause: Use a guard clause (`return if ticket_number.is_a?(Integer)`) instead of wrapping the code inside a conditional expression.
Rubocop: app/models/concerns/justifiable.rb#L22
[rubocop] reported by reviewdog 🐶 Consider merging nested conditions into outer `unless` conditions. Raw Output: app/models/concerns/justifiable.rb:22:66: C: Style/SoleNestedConditional: Consider merging nested conditions into outer `unless` conditions.
ERB Lint runner
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636