summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-06-17 08:37:19 +0200
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-20 14:48:28 -0500
commitbbfd62bc34061089f753e4170912be64bae16f84 (patch)
tree3ed2d54d4afc4449933d97ce3c992a2682a0d3e7 /lib/tasks/gitlab
parenta18df1d15af68be4d129412ad2a6145277ca43d3 (diff)
downloadgitlab-ce-bbfd62bc34061089f753e4170912be64bae16f84.tar.gz
fixup! override content method
Diffstat (limited to 'lib/tasks/gitlab')
-rw-r--r--lib/tasks/gitlab/update_templates.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/update_templates.rake b/lib/tasks/gitlab/update_templates.rake
index 2d3c7993445..4f76dad7286 100644
--- a/lib/tasks/gitlab/update_templates.rake
+++ b/lib/tasks/gitlab/update_templates.rake
@@ -27,7 +27,7 @@ namespace :gitlab do
# - The LICENSE, because we have to
# - The sub dirs so we can organise the file by category
# - The templates themself
- # - Dir.entires returns also the entries '.' and '..'
+ # - Dir.entries returns also the entries '.' and '..'
def remove_unneeded_files(directory, regex)
Dir.foreach(directory) do |file|
FileUtils.rm_rf(File.join(directory, file)) unless file =~ regex