From 2ab6be371e0ed7d931f87bdc167782cf7f28686a Mon Sep 17 00:00:00 2001 From: samyou-softwire Date: Fri, 17 Apr 2026 18:21:20 +0100 Subject: [PATCH] CLDC-4436: Put final files into a folder for easy access --- lib/tasks/log_la_fix.rake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tasks/log_la_fix.rake b/lib/tasks/log_la_fix.rake index 8f7b83a58..9d807f50e 100644 --- a/lib/tasks/log_la_fix.rake +++ b/lib/tasks/log_la_fix.rake @@ -115,8 +115,9 @@ namespace :log_la_fix do next end + FileUtils.mkdir_p("log_output") sanitised_name = org_name.parameterize(separator: "_") - output_file = "#{sanitised_name}_#{log_type}_logs_moved_to_incomplete_with_no_la.csv" + output_file = "log_output/#{sanitised_name}_#{log_type}_logs_moved_to_incomplete_with_no_la.csv" CSV.open(output_file, "w") do |csv| csv << table.headers rows.each { |row| csv << row }