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
Rubocop
1m 0s
ERB Lint runner
1m 35s
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.
|