Skip to content

Commit

Permalink
Fix: #1370 - restrict bazel projects to pattern BUILD{,.bazel} (#1373)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Heubeck <[email protected]>
  • Loading branch information
heubeck authored Sep 11, 2024
1 parent 67732da commit 2748c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,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*`,
`${options.multiProject ? "**/" : ""}BUILD{,.bazel}`,
options,
);
if (
Expand Down

0 comments on commit 2748c13

Please sign in to comment.