diff --git a/lib/credo/execution.ex b/lib/credo/execution.ex index 82633c904..86f6a0adb 100644 --- a/lib/credo/execution.ex +++ b/lib/credo/execution.ex @@ -512,6 +512,13 @@ defmodule Credo.Execution do |> List.flatten() end + @doc """ + Returns all issues grouped by filename for the given `exec` struct. + """ + def get_issues_grouped_by_filename(exec) do + ExecutionIssues.to_map(exec) + end + @doc """ Returns all issues for the given `exec` struct that relate to the given `filename`. """