Commit b3375a49 authored by shinya maeda's avatar shinya maeda

Add a blank line after a guard clause

parent 1d759895
......@@ -25,6 +25,7 @@ class PipelineSerializer < BaseSerializer
def represent_status(resource)
return {} unless resource.present?
data = represent(resource, { only: [{ details: [:status] }] })
data.dig(:details, :status) || {}
end
......
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