From 6c1694ce6bcb15a55f3764cee10bdad4839a379f Mon Sep 17 00:00:00 2001 From: yanweidong Date: Sun, 7 Sep 2025 21:12:13 +0800 Subject: [PATCH] fix bug --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e78609b..f04ce87 100644 --- a/main.go +++ b/main.go @@ -51,7 +51,7 @@ func (md *markdown) Generate(plugin *protogen.Plugin) error { // All other files are imported by the service proto. for _, f := range plugin.Files { if len(f.Services) == 0 { - return nil + continue } fname := f.GeneratedFilenamePrefix + ".md"