Skip to content

Commit

Permalink
Fix: #1370 - restrict bazel projects to pattern BUILD{,.bazel}
Browse files Browse the repository at this point in the history
  • Loading branch information
heubeck committed Sep 11, 2024
1 parent 67732da commit 4258360
Show file tree
Hide file tree
Showing 2 changed files with 10,248 additions 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
Loading

0 comments on commit 4258360

Please sign in to comment.