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"