diff --git a/lib/conform_utils_code.ex b/lib/conform_utils_code.ex index 4cab429..e161f95 100644 --- a/lib/conform_utils_code.ex +++ b/lib/conform_utils_code.ex @@ -71,7 +71,7 @@ defmodule Conform.Utils.Code do acc <> "\n" <> tabs(get_indent) <> keystr <> ": " <> format_function(fndef) end # Just a tuple - defp format_list_item({a, b} = tuple, acc) when not is_atom(a) do + defp format_list_item({a, _} = tuple, acc) when not is_atom(a) do acc <> "\n" <> tabs(get_indent) <> Macro.to_string(tuple) end # A key/value pair list item @@ -240,4 +240,4 @@ defmodule Conform.Utils.Code do end) defp tabs(x) when x > 50, do: String.duplicate(" ", x) defp tabs(_), do: "" -end \ No newline at end of file +end