Project

General

Profile

Actions

Defect #43195

open

5.1-stable fails with RuboCop error Layout/EmptyLineAfterGuardClause

Added by Katsuya HIDAKA 4 days ago. Updated 3 days ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The CI fails in the 5.1-stable branch due to a RuboCop warning:
https://github.com/redmine/redmine/actions/runs/17564475662/job/49888343834

app/models/issue.rb:2083:5: C: [Correctable] Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
    return unless custom_field_values_changed?
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Actions

Also available in: Atom PDF