Skip to content

Commit

Permalink
search only for Bazel workspace and module files
Browse files Browse the repository at this point in the history
Signed-off-by: Maureen Byrne <[email protected]>
  • Loading branch information
maur1 committed Sep 26, 2024
1 parent 75ce553 commit 3e7e054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 3e7e054

Please sign in to comment.