mirror of
https://github.com/beego/bee.git
synced 2024-11-25 20:10:55 +00:00
Merge pull request #338 from sergeylanzman/fix-swagger-generate-bug
Fix swagger generate bug
This commit is contained in:
commit
4e532f49f6
@ -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