We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
go mod vendor
1 parent 4d28c0d commit 8886092Copy full SHA for 8886092
go/extractor/toolchain/toolchain.go
@@ -86,9 +86,9 @@ func InitModule(path string) *exec.Cmd {
86
return modInit
87
}
88
89
-// Constructs a command to run `go mod vendor` in the directory given by `path`.
+// Constructs a command to run `go mod vendor -e` in the directory given by `path`.
90
func VendorModule(path string) *exec.Cmd {
91
- modVendor := exec.Command("go", "mod", "vendor")
+ modVendor := exec.Command("go", "mod", "vendor", "-e")
92
modVendor.Dir = path
93
return modVendor
94
0 commit comments