From cb0b7a2302871b0f9af2733ee877e10f42544d61 Mon Sep 17 00:00:00 2001 From: Luca Succi Date: Fri, 11 Sep 2026 12:51:04 +0200 Subject: [PATCH] Get project file from settings --- src/grisp_tools_report.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/grisp_tools_report.erl b/src/grisp_tools_report.erl index 483bf8d..f459a36 100644 --- a/src/grisp_tools_report.erl +++ b/src/grisp_tools_report.erl @@ -66,9 +66,8 @@ tar(#{report_dir := ReportDir, flags := #{tar := true}} = S0) -> %--- Internal ------------------------------------------------------------------ -project_settings(S0) -> - S1 = copy_project_file("rebar.config", S0), - copy_project_file("rebar.lock", S1). +project_settings(#{project_settings := Files} = S0) -> + lists:foldl(fun copy_project_file/2, S0, Files). hash_index(#{ report_dir := ReportDir,