summaryrefslogtreecommitdiff
path: root/lib/tasks/file_hooks.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/file_hooks.rake')
-rw-r--r--lib/tasks/file_hooks.rake7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/tasks/file_hooks.rake b/lib/tasks/file_hooks.rake
index a892d36b48e..5eb49808eff 100644
--- a/lib/tasks/file_hooks.rake
+++ b/lib/tasks/file_hooks.rake
@@ -3,14 +3,9 @@
namespace :file_hooks do
desc 'Validate existing file hooks'
task validate: :environment do
- puts 'Validating file hooks from /file_hooks and /plugins directories'
+ puts 'Validating file hooks from /file_hooks directories'
Gitlab::FileHook.files.each do |file|
- if File.dirname(file).ends_with?('plugins')
- puts 'DEPRECATED: /plugins directory is deprecated and will be removed in 14.0. ' \
- 'Please move your files into /file_hooks directory.'
- end
-
success, message = Gitlab::FileHook.execute(file, Gitlab::DataBuilder::Push::SAMPLE_DATA)
if success