use full path to help location of source
This commit is contained in:
parent
c889ed7a43
commit
60d40da112
2
main.go
2
main.go
@ -113,7 +113,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
_, en := filepath.Split(pkg.ImportPath)
|
_, en := filepath.Split(pkg.ImportPath)
|
||||||
if _, ok := execs[en]; ok {
|
if _, ok := execs[en]; ok {
|
||||||
execs[en] = append(execs[en], pkg.ImportPath)
|
execs[en] = append(execs[en], filepath.Join(srcDir, pkg.ImportPath))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user