Use go install instead of garble install

garble install command does not exist
This commit is contained in:
Hritik Vijay
2023-09-21 01:31:13 +05:30
committed by Daniel Martí
parent 23c8641855
commit 66bdc8b124

View File

@@ -306,7 +306,7 @@ func goVersionOK() bool {
if semver.Compare(builtVersionSemver, sharedCache.GoVersionSemver) < 0 {
fmt.Fprintf(os.Stderr, `
garble was built with %q and is being used with %q; rebuild it with a command like:
garble install mvdan.cc/garble@latest
go install mvdan.cc/garble@latest
`[1:], builtVersionFull, toolchainVersionFull)
return false
}