diff --git a/g_docs.go b/g_docs.go index ca9a877..bff0d5e 100644 --- a/g_docs.go +++ b/g_docs.go @@ -95,7 +95,7 @@ func parsePackagesFromDir(dirpath string) { return nil } - if fileInfo.Name() != "vendor" { + if !strings.Contains(fpath, "vendor") { err = parsePackageFromDir(fpath) if err != nil { // Send the error to through the channel and continue walking