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:
authorRalf Seidler <ralf.seidler@uni-jena.de>2014-09-06 13:46:14 +0400
committerRalf Seidler <ralf.seidler@uni-jena.de>2014-09-06 13:46:14 +0400
commit23241c181c0becdff17365aa49f80c05210f8b16 (patch)
treeb5cf97191951d98ca5c5f055525b4ce7654d0dc9 /lib/gitlab/project_search_results.rb
parentd93b046c4c7adf5a8fe37122864d7b1fabbd5bf6 (diff)
Fixed houndci complaining over too long lines
Diffstat (limited to 'lib/gitlab/project_search_results.rb')
-rw-r--r--lib/gitlab/project_search_results.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb
index 5d959dfe0a5..736c22ecc77 100644
--- a/lib/gitlab/project_search_results.rb
+++ b/lib/gitlab/project_search_results.rb
@@ -22,7 +22,8 @@ module Gitlab
end
def total_count
- @total_count ||= issues_count + merge_requests_count + blobs_count + notes_count + wiki_blobs_count
+ @total_count ||= issues_count + merge_requests_count + blobs_count +
+ notes_count + wiki_blobs_count
end
def blobs_count
@@ -51,7 +52,8 @@ module Gitlab
if !project.wiki_enabled?
[]
else
- Repository.new(ProjectWiki.new(project).path_with_namespace).search_files(query)
+ Repository.new(ProjectWiki.new(project).path_with_namespace).
+ search_files(query)
end
end