We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8cad66 commit cc459cdCopy full SHA for cc459cd
go/extractor/project/project.go
@@ -193,7 +193,7 @@ func findGoModFiles(root string) []string {
193
}
194
195
// A regular expression for the Go toolchain version syntax.
196
-var toolchainVersionRe *regexp.Regexp = regexp.MustCompile(`(?m)^([0-9]+\.[0-9]+\.[0-9]+)$`)
+var toolchainVersionRe *regexp.Regexp = regexp.MustCompile(`(?m)^([0-9]+\.[0-9]+(\.[0-9]+|rc[0-9]+))$`)
197
198
// Returns true if the `go.mod` file specifies a Go language version, that version is `1.21` or greater, and
199
// there is no `toolchain` directive, and the Go language version is not a valid toolchain version.
0 commit comments