summaryrefslogtreecommitdiff
path: root/app/models/deployment.rb
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-09-20 18:21:59 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-09-20 18:26:31 +0530
commit231a9f5b8788aa0bbb2fa304f8b937f7c09fcee1 (patch)
treefbaebf9301e8352a750af0939b3fc1ac8a231093 /app/models/deployment.rb
parent71d4bf721be6cd57ab3480bc5efb11a91d6e1891 (diff)
downloadgitlab-ce-231a9f5b8788aa0bbb2fa304f8b937f7c09fcee1.tar.gz
Fix rubocop spec.
And `scss_lint`
Diffstat (limited to 'app/models/deployment.rb')
-rw-r--r--app/models/deployment.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb
index 31a5bb1f962..15f349c89bb 100644
--- a/app/models/deployment.rb
+++ b/app/models/deployment.rb
@@ -43,7 +43,6 @@ class Deployment < ActiveRecord::Base
project.repository.is_ancestor?(commit.id, sha)
end
-
def update_merge_request_metrics
if environment.update_merge_request_metrics?
merge_requests = project.merge_requests.