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:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-19 18:09:38 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-12-29 01:53:27 +0300
commitcd688a60111853f63413a87ad6632ad57368e886 (patch)
tree7213f737fa99bc91141e53a637ba95530dfcfdaf /lib/tasks/gitlab/import.rake
parentc8bb171664de94778d4e6eba7773596b265f9efb (diff)
Replace regex methods by string ones since faster
and more readable.
Diffstat (limited to 'lib/tasks/gitlab/import.rake')
-rw-r--r--lib/tasks/gitlab/import.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake
index 3c693546c09..fef2afd7333 100644
--- a/lib/tasks/gitlab/import.rake
+++ b/lib/tasks/gitlab/import.rake
@@ -25,7 +25,7 @@ namespace :gitlab do
puts "Processing #{repo_path}".yellow
- if path =~ /\.wiki\Z/
+ if path.end_with?('.wiki')
puts " * Skipping wiki repo"
next
end