Support '-u=patch' in hugo mod get
authorLuke de Waal <lr.de.waal.01@gmail.com>
Sun, 20 Mar 2022 15:24:37 +0000 (16:24 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 20 Mar 2022 21:07:26 +0000 (22:07 +0100)
commit5adb81ce39a36214712762288c6aab9ebcff5e24
tree662ed01406473d8ba90c137455ca52abca828146
parent1c0e7c1ae1eb9cd47fbe030ebddbf89df04fe667
Support '-u=patch' in hugo mod get

The control-flow for running `hugo mod get` was adapted to allow for passing `-u=patch`
instead of only being able to pass `-u`.

Fixes #9127
modules/client.go