Skip to content

Commit a9d3cfc

Browse files
committed
use severityNote for all diagnostics
1 parent 532e144 commit a9d3cfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/extractor/diagnostics/diagnostics.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func EmitUnsupportedVersionGoMod(msg string) {
199199
"go/autobuilder/env-unsupported-version-in-go-mod",
200200
"Unsupported Go version in `go.mod` file",
201201
msg,
202-
severityError,
202+
severityNote,
203203
telemetryOnly,
204204
noLocation,
205205
)
@@ -210,7 +210,7 @@ func EmitUnsupportedVersionEnvironment(msg string) {
210210
"go/autobuilder/env-unsupported-version-in-environment",
211211
"Unsupported Go version in environment",
212212
msg,
213-
severityError,
213+
severityNote,
214214
telemetryOnly,
215215
noLocation,
216216
)
@@ -254,7 +254,7 @@ func EmitVersionGoModHigherVersionEnvironment(msg string) {
254254
"go/autobuilder/env-version-go-mod-higher-than-go-env",
255255
"The Go version in `go.mod` file is higher than the Go version in environment",
256256
msg,
257-
severityWarning,
257+
severityNote,
258258
telemetryOnly,
259259
noLocation,
260260
)

0 commit comments

Comments
 (0)