mirror of
https://github.com/foomo/gotsrpc.git
synced 2025-10-16 12:35:35 +00:00
fix: use build default
This commit is contained in:
parent
ca616c4128
commit
fbbed9b992
2
build.go
2
build.go
@ -119,7 +119,7 @@ func Build(conf *config.Config, goPath, goRoot string) { //nolint:maintidx
|
|||||||
}
|
}
|
||||||
vendorDirectory := path.Join(workDirectory, "vendor")
|
vendorDirectory := path.Join(workDirectory, "vendor")
|
||||||
|
|
||||||
goPaths := []string{goRoot, goPath}
|
goPaths := []string{goPath, goRoot}
|
||||||
|
|
||||||
if _, err := os.Stat(vendorDirectory); !os.IsNotExist(err) {
|
if _, err := os.Stat(vendorDirectory); !os.IsNotExist(err) {
|
||||||
goPaths = append(goPaths, vendorDirectory)
|
goPaths = append(goPaths, vendorDirectory)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user