Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-06 18:42:39 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-23 11:11:49 +0300
commitf8d6e81b92e85663bead6036e80407d7ab55a643 (patch)
tree2d75864afbe8bde0263590cf97dcf2857c84b60b /app/serializers/pipeline_serializer.rb
parent617292046cf69ff4a41da875fe67f0ce7f612ea3 (diff)
Fix rubocop anger
Diffstat (limited to 'app/serializers/pipeline_serializer.rb')
-rw-r--r--app/serializers/pipeline_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/pipeline_serializer.rb b/app/serializers/pipeline_serializer.rb
index 4de9e620f64..6b6e4a8f0f0 100644
--- a/app/serializers/pipeline_serializer.rb
+++ b/app/serializers/pipeline_serializer.rb
@@ -12,7 +12,7 @@ class PipelineSerializer < BaseSerializer
end
def with_status
- tap { @status_only = {only: [{details: [:status]}]} }
+ tap { @status_only = { only: [{ details: [:status] }] } }
end
def represent(resource, opts = {})