Files
n8n-openai-adapter/lib/module.ex
T

8 lines
288 B
Elixir

defmodule Module do
def eval_quoted(module, filename // 'nofile', line // 1, quoted) do
Erlang.elixir_module.eval(module, quoted, to_list(filename), line)
end
defp to_list(list) when is_list(list), do: list
defp to_list(bin) when is_binary(bin), do: binary_to_list(bin)
end