Skip to content

Commit

Permalink
Fix potential compiler warning
Browse files Browse the repository at this point in the history
on Elixir 1.18-dev
  • Loading branch information
rrrene committed Oct 30, 2024
1 parent b1ad8c4 commit f33c697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/credo/exs_loader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ defmodule Credo.ExsLoader do
end

defp process_tuple_item(value, acc) do
Tuple.append(acc, process_exs(value))
Tuple.insert_at(acc, tuple_size(acc), process_exs(value))
end

defp process_map([], acc), do: acc
Expand Down

0 comments on commit f33c697

Please sign in to comment.