summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-06-16 15:33:11 +0200
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-20 14:48:28 -0500
commit483dc62eaac0e11717b5b103317c4441ec0ff23d (patch)
tree40b5954f0f5f0f181d3fa73ec36cd1492d2e0669 /lib/tasks
parent96ae6099dd5921ae32139a206d598043520fb506 (diff)
downloadgitlab-ce-483dc62eaac0e11717b5b103317c4441ec0ff23d.tar.gz
Incorporate review
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/update_templates.rake18
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/tasks/gitlab/update_templates.rake b/lib/tasks/gitlab/update_templates.rake
index 14277fe4c4b..2d3c7993445 100644
--- a/lib/tasks/gitlab/update_templates.rake
+++ b/lib/tasks/gitlab/update_templates.rake
@@ -37,14 +37,16 @@ namespace :gitlab do
private
Template = Struct.new(:repo_url, :cleanup_regex)
- TEMPLATE_DATA = [Template.new(
- "https://github.com/github/gitignore.git",
- /(\.{1,2}|LICENSE|Global|\.gitignore)\z/
- ),
- Template.new(
- "https://gitlab.com/gitlab-org/gitlab-ci-yml.git",
- /(\.{1,2}|LICENSE|Pages|\.gitlab-ci.yml)\z/
- )]
+ TEMPLATE_DATA = [
+ Template.new(
+ "https://github.com/github/gitignore.git",
+ /(\.{1,2}|LICENSE|Global|\.gitignore)\z/
+ ),
+ Template.new(
+ "https://gitlab.com/gitlab-org/gitlab-ci-yml.git",
+ /(\.{1,2}|LICENSE|Pages|\.gitlab-ci.yml)\z/
+ )
+ ]
def vendor_directory
Rails.root.join('vendor')