diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-05-13 13:51:52 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-02-01 03:14:44 +0300 |
commit | 91c07d16cd371a545a9ad089ccc0313c7a13bb5b (patch) | |
tree | e6430b6e78f2666ab38c79b2e249ff7908053913 /app/services/projects/update_pages_service.rb | |
parent | 12d44272ec68e38760d5886b27546e8c13f7942a (diff) |
Fixed Rubocop deprecation warnings
Diffstat (limited to 'app/services/projects/update_pages_service.rb')
-rw-r--r-- | app/services/projects/update_pages_service.rb | 2 |
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) |