fix bug
This commit is contained in:
parent
ca3ea1900d
commit
6c1694ce6b
2
main.go
2
main.go
|
@ -51,7 +51,7 @@ func (md *markdown) Generate(plugin *protogen.Plugin) error {
|
||||||
// All other files are imported by the service proto.
|
// All other files are imported by the service proto.
|
||||||
for _, f := range plugin.Files {
|
for _, f := range plugin.Files {
|
||||||
if len(f.Services) == 0 {
|
if len(f.Services) == 0 {
|
||||||
return nil
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
fname := f.GeneratedFilenamePrefix + ".md"
|
fname := f.GeneratedFilenamePrefix + ".md"
|
||||||
|
|
Loading…
Reference in New Issue