Skip to content

Commit 73f268c

Browse files
owen-mcCopilot
andauthored
Update comments
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 1beffea commit 73f268c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/extractor/autobuilder/build-environment.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ func getVersionWhenGoModVersionNotFound(v versionInfo) (msg string, version util
5555
if v.goEnvVersion == nil {
5656
// There is no Go version installed in the environment. We have no indication which version
5757
// was intended to be used to build this project. Go versions are generally backwards
58-
// compatible, so we install the maximum supported version.
58+
// compatible, so we install the maximum supported released version.
5959
msg = "No version of Go installed and no `go.mod` file found. Requesting the maximum " +
6060
"supported version of Go that has been released (" + goVersionToInstall.String() + ")."
6161
version = goVersionToInstall
6262
diagnostics.EmitNoGoModAndNoGoEnv(msg)
6363
} else if outsideSupportedRange(v.goEnvVersion) {
6464
// The Go version installed in the environment is not supported. We have no indication
6565
// which version was intended to be used to build this project. Go versions are generally
66-
// backwards compatible, so we install the maximum supported version.
66+
// backwards compatible, so we install the maximum supported released version.
6767
msg = "No `go.mod` file found. The version of Go installed in the environment (" +
6868
v.goEnvVersion.String() + ") is outside of the supported range (" + minGoVersion.String() + "-" +
6969
maxGoVersion.String() + "). Requesting the maximum supported version of Go that has " +

0 commit comments

Comments
 (0)