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 193edda commit a0f470bCopy full SHA for a0f470b
go/extractor/diagnostics/diagnostics.go
@@ -203,11 +203,15 @@ func EmitRelativeImportPaths() {
203
204
// The following diagnostics are telemetry-only.
205
206
-func EmitBazelBuildFileFound() {
+func EmitBazelBuildFilesFound(bazelPaths []string) {
207
emitDiagnostic(
208
"go/autobuilder/bazel-build-file-found",
209
- "A Bazel `BUILD` file was found",
210
+ "Bazel BUILD files were found",
+ fmt.Sprintf(
211
+ "%d bazel BUILD %s found:\n\n`%s`",
212
+ len(bazelPaths),
213
+ plural(len(bazelPaths), "file was", "files were"),
214
+ strings.Join(bazelPaths, "`, `")),
215
severityNote,
216
telemetryOnly,
217
noLocation,
0 commit comments