Skip to content

Commit

Permalink
Merge pull request #7 from mguimas/main
Browse files Browse the repository at this point in the history
FIX: call to undefined ProtobufGenerate.Plugins.Enum.template/1 funct…
  • Loading branch information
drowzy authored Sep 16, 2024
2 parents e87b1d5 + 16fbe7e commit 3dfa441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/protobuf_generate/code_gen.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dfa441

Please sign in to comment.