For a while now (since around 0.91 I think) running hugo mod get -u ./...
results in the following:
Update module in /home/patrick/Projects/dnb-org/kollitsch.de
Update module in /home/patrick/Projects/dnb-org/kollitsch.de/node_modules/netlify-cli/src/functions-templates/go/hello-world
While the first line is expected, the second line points to netlify-cli, that I installed via npm install netlify-cli
. It is nowhere linked in my go.mod/go.sum files. I understand that the ./...
means to check recursive, but (1) shouldn’t Go (or Hugo) update only referenced modules and (2) ignore library folders like node_modules
by default?
(repo is here but will probably fail to compile at the moment)