Skip to content

Commit

Permalink
Fix Elixir 1.17 warning about function call without parens (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
michallepicki authored Jun 3, 2024
1 parent 9f9ec60 commit e744f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/table_rex/table.ex
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ defmodule TableRex.Table do
@spec render(Table.t(), list) :: Renderer.render_return()
def render(%Table{} = table, opts \\ []) when is_list(opts) do
{renderer, opts} = Keyword.pop(opts, :renderer, @default_renderer)
opts = opts |> Enum.into(renderer.default_options)
opts = opts |> Enum.into(renderer.default_options())
renderer.render(table, opts)
end

Expand Down

0 comments on commit e744f68

Please sign in to comment.