From 42b61364caf67fbd33371ba6b03aa61c4cc3e2a4 Mon Sep 17 00:00:00 2001 From: Kiko Fernandez-Reyes Date: Fri, 22 Nov 2024 15:34:34 +0100 Subject: [PATCH] gh: remove duplicate files detected --- scripts/scan-code.escript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scan-code.escript b/scripts/scan-code.escript index 8a52afe70d66..e6390f43f4b7 100755 --- a/scripts/scan-code.escript +++ b/scripts/scan-code.escript @@ -239,7 +239,7 @@ sarif(Errors) -> ~"uri" => File }, ~"length" => -1 - } || {_, File, _} <- Errors + } || File <- lists:usort([F || {_, F, _} <- Errors]) ], ~"results" => [ #{