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:
authorYorick Peterse <yorickpeterse@gmail.com>2016-05-13 13:51:52 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-02-01 03:14:44 +0300
commit91c07d16cd371a545a9ad089ccc0313c7a13bb5b (patch)
treee6430b6e78f2666ab38c79b2e249ff7908053913 /app/services/projects
parent12d44272ec68e38760d5886b27546e8c13f7942a (diff)
Fixed Rubocop deprecation warnings
Diffstat (limited to 'app/services/projects')
-rw-r--r--app/services/projects/update_pages_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/update_pages_service.rb b/app/services/projects/update_pages_service.rb
index f588f6feb8c..90fff91dd9c 100644
--- a/app/services/projects/update_pages_service.rb
+++ b/app/services/projects/update_pages_service.rb
@@ -25,7 +25,7 @@ module Projects
# Check if we did extract public directory
archive_public_path = File.join(archive_path, 'public')
- raise 'pages miss the public folder' unless Dir.exists?(archive_public_path)
+ raise 'pages miss the public folder' unless Dir.exist?(archive_public_path)
raise 'pages are outdated' unless latest?
deploy_page!(archive_public_path)