Skip to content

Commit 3ae538f

Browse files
author
Danielle Adams
committed
pass -mod flag to update go.mod file during install (related: golang/go#44212)
Signed-off-by: Danielle Adams <[email protected]>
1 parent dc1fa2e commit 3ae538f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ clean:
1919

2020
install-hugo:
2121
@echo "> Installing hugo..."
22-
cd tools; go install --tags extended github.com/gohugoio/hugo
22+
cd tools; go install -mod=mod --tags extended github.com/gohugoio/hugo
2323

2424
install-pack-cli:
2525
@echo "> Installing pack bin..."

0 commit comments

Comments
 (0)