Skip to content

Update cmd in ./dev/generate.sh to remove deprecation warning

Warren Gifford requested to merge mrn/fix-deprecation-warning into main

Created by: mrnugget

Previously this would print:

go get: installing executables with 'go get' in module mode is deprecated. To adjust and download dependencies of the current module, use 'go get -d'. To install using requirements of the current module, use 'go install'. To install ignoring the current module, use 'go install' with a version, like 'go install example.com/cmd@latest'. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

And since I have no idea how go modules work, I simply followed the instructions printed here and updated the command accordingly.

Merge request reports

Loading