Add a blank line after a guard clause
This commit is contained in:
parent
1d75989551
commit
b3375a4964
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ class PipelineSerializer < BaseSerializer
|
||||||
|
|
||||||
def represent_status(resource)
|
def represent_status(resource)
|
||||||
return {} unless resource.present?
|
return {} unless resource.present?
|
||||||
|
|
||||||
data = represent(resource, { only: [{ details: [:status] }] })
|
data = represent(resource, { only: [{ details: [:status] }] })
|
||||||
data.dig(:details, :status) || {}
|
data.dig(:details, :status) || {}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue