Skip to content

Commit 07ab2ab

Browse files
author
Georg Limbach
committed
Hooks ausführen
1 parent 90b6d2e commit 07ab2ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/tasks/m3_log_file_parser_tasks.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ namespace :m3 do
77
next if only_env.present? && !Rails.env.to_sym.in?(only_env.map(&:to_sym))
88

99
log_path = args[:log_path] || configuration.log_path
10-
configuration.run_before if configuration.run_before.respond_to?(:call)
10+
configuration.run_before.call if configuration.run_before.respond_to?(:call)
1111

1212
worker = M3LogFileParser::Worker.new(log_path)
1313
worker.perform
1414
puts worker.generate_message
1515

16-
configuration.run_after if configuration.run_after.respond_to?(:call)
16+
configuration.run_after.call if configuration.run_after.respond_to?(:call)
1717
end
1818
end

0 commit comments

Comments
 (0)