Use selected module for dependency downloads
This commit is contained in:
@@ -97,7 +97,7 @@ func New(ctx context.Context, directory string) (*Tool, error) {
|
||||
func PrepareBuildDependencies(ctx context.Context, directory string) error {
|
||||
captured := &combinedWriter{}
|
||||
err := process.Run(ctx, process.Invocation{
|
||||
Args: []string{"go", "mod", "download"},
|
||||
Args: []string{"go", "mod", "download", "-modfile="},
|
||||
Dir: directory,
|
||||
Env: map[string]string{
|
||||
"GOWORK": "off",
|
||||
|
||||
Reference in New Issue
Block a user