diff --git a/application/services/summarize_folder.rb b/application/services/summarize_folder.rb index 3efd1fe..d8f20a7 100644 --- a/application/services/summarize_folder.rb +++ b/application/services/summarize_folder.rb @@ -21,12 +21,8 @@ def clone_repo(input) Right(input) else clone_request_msg = clone_request_json(input) - # TODO: - # - send message to worker using notify_clone_listeners? - # - send repo to worker and let it find gitrepo - # CloneRepoWorker.perform_async(clone_request_msg) notify_clone_listeners(clone_request_msg) - Left(Result.new(:processing, { id: input[:id] })) + Left(Result.new(:processing, id: input[:id])) end rescue StandardError => error puts "ERROR: SummarizeFolder#clone_repo - #{error.inspect}" diff --git a/init.rb b/init.rb index 39ef9d2..e3be2f6 100644 --- a/init.rb +++ b/init.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -folders = %w[config infrastructure domain application workers] +folders = %w[config infrastructure domain application] folders.each do |folder| require_relative "#{folder}/init.rb" end