diff --git a/encoder.go b/encoder.go index a2b4798..f5d5fe7 100644 --- a/encoder.go +++ b/encoder.go @@ -70,7 +70,6 @@ func NewGenericTemplateBasedEncoder(templateDir string, file *descriptor.FileDes log.Printf("new encoder: file=%q template-dir=%q", file.GetName(), templateDir) } pgghelpers.InitPathMap(file) - pgghelpers.InitPathMap(file) return }