mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
modules: Make new cache directories read/write
Leave newly-created directories in the module cache read-write instead of making them read-only. Closes #11369
This commit is contained in:
parent
d979831dbd
commit
cdf0b3b7a6
1 changed files with 1 additions and 1 deletions
|
@ -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...)
|
||||
|
|
Loading…
Reference in a new issue