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 150704d commit df888c3Copy full SHA for df888c3
index.js
@@ -1281,7 +1281,7 @@ export async function createJavaBom(path, options) {
1281
bomJsonFiles = getAllFiles(path, "**/target/*.json", options);
1282
// Check if the bom json files got created in a directory other than target
1283
if (!bomJsonFiles.length) {
1284
- bomJsonFiles = getAllFiles(path, "**/bom*.json", options);
+ bomJsonFiles = getAllFiles(path, "target/**/*{cdx,bom}*.json", options);
1285
}
1286
const bomGenerated = bomJsonFiles.length;
1287
if (!bomGenerated || result.status !== 0 || result.error) {
0 commit comments