aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/client.go b/modules/client.go
index 53ce67cb3..7108c9bef 100644
--- a/modules/client.go
+++ b/modules/client.go
@@ -456,7 +456,7 @@ func (c *Client) listGoMods() (goModules, error) {
}
downloadModules := func(modules ...string) error {
- args := []string{"mod", "download"}
+ args := []string{"mod", "download", "-modcacherw"}
args = append(args, modules...)
out := io.Discard
err := c.runGo(context.Background(), out, args...)