diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-15 14:37:11 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-15 14:37:11 -0800 |
commit | c5ba87a2fbd4eb0bcce5431683e26e8d345db5c4 (patch) | |
tree | 3337cbcf38a72eaa275be7e995c7ed7c83002ca4 /lib/tasks | |
parent | 9c4015f3e8080f41daaac82cfe1465f6839ca427 (diff) | |
parent | cd688a60111853f63413a87ad6632ad57368e886 (diff) | |
download | gitlab-ce-c5ba87a2fbd4eb0bcce5431683e26e8d345db5c4.tar.gz |
Merge pull request #8096 from cirosantilli/regex-to-string
Replace regex methods by string ones since faster and more readable
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/import.rake | 2 |
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 |