Handle different go version -m [binary-name] command output on go 1.18 for binaries built from source using go build main.go. The mod line is missing.
go-global-update will assume the binary is not updatable if it was built from source. It will not even check for the latest version of that binary on all go versions now to behave consistently.
Handle different
go version -m [binary-name]
command output on go 1.18 for binaries built from source usinggo build main.go
. Themod
line is missing.go-global-update will assume the binary is not updatable if it was built from source. It will not even check for the latest version of that binary on all go versions now to behave consistently.