Commit c3d338e7 authored by Tetiana Chupryna's avatar Tetiana Chupryna

Apply 1 suggestion(s) to 1 file(s)

parent 9242f5bc
......@@ -244,7 +244,7 @@ module EE
private
def has_approved_license_check?
approval_rules.license_compliance.any? && approval_rules.license_compliance.last.approvals_required == 0
approval_rules.license_compliance.last&.approvals_required == 0
end
def missing_report_error(report_type)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment