We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b6d2e commit 07ab2abCopy full SHA for 07ab2ab
lib/tasks/m3_log_file_parser_tasks.rake
@@ -7,12 +7,12 @@ namespace :m3 do
7
next if only_env.present? && !Rails.env.to_sym.in?(only_env.map(&:to_sym))
8
9
log_path = args[:log_path] || configuration.log_path
10
- configuration.run_before if configuration.run_before.respond_to?(:call)
+ configuration.run_before.call if configuration.run_before.respond_to?(:call)
11
12
worker = M3LogFileParser::Worker.new(log_path)
13
worker.perform
14
puts worker.generate_message
15
16
- configuration.run_after if configuration.run_after.respond_to?(:call)
+ configuration.run_after.call if configuration.run_after.respond_to?(:call)
17
end
18
0 commit comments