summaryrefslogtreecommitdiff
path: root/app/models/commit_status.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-13 13:24:25 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-13 13:24:25 +0100
commit5f590a71fd26b637501f8751bc6f9adff4d9c8db (patch)
tree8c80593ed8155a4a3c62d733ef45f823e02b5b8c /app/models/commit_status.rb
parenta91a95b2327a3570db16afa1fde91c899d79d5a5 (diff)
downloadgitlab-ce-5f590a71fd26b637501f8751bc6f9adff4d9c8db.tar.gz
Improve readability in methods for detailed status
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r--app/models/commit_status.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb
index 6548a7dda2c..31cd381dcd2 100644
--- a/app/models/commit_status.rb
+++ b/app/models/commit_status.rb
@@ -133,6 +133,8 @@ class CommitStatus < ActiveRecord::Base
end
def detailed_status(current_user)
- Gitlab::Ci::Status::Factory.new(self, current_user).fabricate!
+ Gitlab::Ci::Status::Factory
+ .new(self, current_user)
+ .fabricate!
end
end