fix: use build default

This commit is contained in:
Kevin Franklin Kim 2025-03-24 17:04:14 +01:00
parent ca616c4128
commit fbbed9b992
No known key found for this signature in database

View File

@ -119,7 +119,7 @@ func Build(conf *config.Config, goPath, goRoot string) { //nolint:maintidx
}
vendorDirectory := path.Join(workDirectory, "vendor")
goPaths := []string{goRoot, goPath}
goPaths := []string{goPath, goRoot}
if _, err := os.Stat(vendorDirectory); !os.IsNotExist(err) {
goPaths = append(goPaths, vendorDirectory)