Skip to content

AO3-5538 Update tag set nominations with old tagname when renaming tags #1268

AO3-5538 Update tag set nominations with old tagname when renaming tags

AO3-5538 Update tag set nominations with old tagname when renaming tags #1268

Triggered via pull request September 19, 2024 11:19
Status Success
Total duration 3m 54s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 warning
Rubocop: app/models/tag.rb#L1192
[rubocop] reported by reviewdog 🐶 Use a guard clause (`return unless saved_change_to_name? && name_before_last_save.present?`) instead of wrapping the code inside a conditional expression. Raw Output: app/models/tag.rb:1192:5: C: Style/GuardClause: Use a guard clause (`return unless saved_change_to_name? && name_before_last_save.present?`) instead of wrapping the code inside a conditional expression.