Apply all necessary exclusions to sobelow findings

This commit is contained in:
Claudio Ortolina
2026-03-07 18:37:24 +00:00
parent c87f946479
commit 2e3732e38b
6 changed files with 15 additions and 2 deletions
+3
View File
@@ -497,6 +497,9 @@ defmodule MusicLibrary.ScrobbleRules do
end)
end
# column and json_path are hardcoded string literals from internal callers,
# never user input. All user-derived values use parameterized ? placeholders.
# sobelow_skip ["SQL.Query"]
defp apply_all_rules_for_column(rules, column, json_path, tracks) do
{case_clauses, case_params} =
Enum.reduce(rules, {"", []}, fn rule, {sql_acc, params_acc} ->