From 3e7e054881bda9eb2bad47b628b2b7979026f9f3 Mon Sep 17 00:00:00 2001 From: Maureen Byrne Date: Thu, 26 Sep 2024 10:49:41 +0200 Subject: [PATCH] search only for Bazel workspace and module files Signed-off-by: Maureen Byrne --- lib/cli/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/index.js b/lib/cli/index.js index 5fb147433..c9163e333 100644 --- a/lib/cli/index.js +++ b/lib/cli/index.js @@ -1837,7 +1837,7 @@ export async function createJavaBom(path, options) { // NOTE: This can match BUILD files used by perl, so could lead to errors in some projects const bazelFiles = getAllFiles( path, - `${options.multiProject ? "**/" : ""}BUILD{,.bazel}`, + `${options.multiProject ? "**/" : ""}{WORKSPACE{,.bazel},MODULE.bazel}`, options, ); if (