mirror of
https://github.com/beego/bee.git
synced 2024-11-26 01:11:30 +00:00
fix bug with generate swagger.
This commit is contained in:
parent
2ff99d4ea7
commit
cfc8658ab2
@ -95,7 +95,7 @@ func parsePackagesFromDir(dirpath string) {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if fileInfo.Name() != "vendor" {
|
if !strings.Contains(fpath, "vendor") {
|
||||||
err = parsePackageFromDir(fpath)
|
err = parsePackageFromDir(fpath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// Send the error to through the channel and continue walking
|
// Send the error to through the channel and continue walking
|
||||||
|
Loading…
Reference in New Issue
Block a user