Skip to content

Commit 10ece0a

Browse files
committedDec 14, 2017
fix ingored vendor import
1 parent e990796 commit 10ece0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎declcache.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,10 @@ func (ctxt *package_lookup_context) pkg_dirs() (string, []string) {
478478
if is_dir(dir) {
479479
all = append(all, dir)
480480
}
481+
dir = filepath.Join(dir, currentPackagePath, "vendor")
482+
if is_dir(dir) {
483+
all = append(all, dir)
484+
}
481485
}
482486
case "gb":
483487
if ctxt.GBProjectRoot != "" {

0 commit comments

Comments
 (0)
Please sign in to comment.