Use go install instead of garble install

garble install command does not exist
pull/797/head
Hritik Vijay 9 months ago committed by Daniel Martí
parent 23c8641855
commit 66bdc8b124

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

Loading…
Cancel
Save