Skip to content
Snippets Groups Projects
Commit b3375a49 authored by Dosuken shinya's avatar Dosuken shinya
Browse files

Add a blank line after a guard clause

parent 1d759895
No related branches found
No related tags found
1 merge request!9561Expose CI/CD status API endpoints with Gitlab::Ci::Status facility on pipeline, job and merge request for favicon
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment