Skip to content

Commit a4c9120

Browse files
committed
Update one of the diagnostic messages
1 parent 2c5239f commit a4c9120

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go/extractor/diagnostics/diagnostics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func EmitCannotFindPackage(pkgPath string) {
137137
func EmitNewerGoVersionNeeded() {
138138
emitDiagnostic("go/autobuilder/newer-go-version-needed",
139139
"Newer Go version needed",
140-
"The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic).",
140+
"The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).",
141141
severityError, false,
142142
true, true, true,
143143
"", 0, 0, 0, 0,

go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"internal": false,
3-
"markdownMessage": "The version of Go available in the environment is lower than the version specified in the `go.mod` file. [Install a newer version](https://github.com/actions/setup-go#basic).",
3+
"markdownMessage": "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).",
44
"severity": "error",
55
"source": {
66
"extractorName": "go",

0 commit comments

Comments
 (0)