From 16fbe7e1d9c49b9bf4622fb67bbb39a98a0896df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rio=20Guimar=C3=A3es?= Date: Thu, 12 Sep 2024 17:30:21 +0100 Subject: [PATCH] FIX: call to undefined ProtobufGenerate.Plugins.Enum.template/1 function. --- lib/protobuf_generate/code_gen.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/protobuf_generate/code_gen.ex b/lib/protobuf_generate/code_gen.ex index 2f918d9..6711238 100644 --- a/lib/protobuf_generate/code_gen.ex +++ b/lib/protobuf_generate/code_gen.ex @@ -47,7 +47,7 @@ defmodule ProtobufGenerate.CodeGen do raise "#{inspect(plugin)} does not implement the `template/0` callback" end - eval(msg, plugin.template(%{})) + eval(msg, plugin.template()) end defp generate_files(module_definitions, _desc, _file_per_module = true) do