We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4de4f35 commit 742a6d9Copy full SHA for 742a6d9
1 file changed
go/extractor/cli/go-autobuilder/go-autobuilder.go
@@ -281,7 +281,7 @@ func tryReadGoDirective(depMode DependencyInstallerMode) (string, bool) {
281
if matches != nil {
282
found = true
283
if len(matches) > 1 {
284
- version := string(matches[1])
+ version = string(matches[1])
285
semverVersion := "v" + version
286
if semver.Compare(semverVersion, getEnvGoSemVer()) >= 0 {
287
diagnostics.EmitNewerGoVersionNeeded()
0 commit comments