Skip to content

Commit

Permalink
Bug fix: -t javascript was broken
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jan 29, 2025
1 parent e02a2f1 commit e6e76ca
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/cdxgen",
"version": "11.1.4",
"version": "11.1.5",
"exports": "./lib/cli/index.js",
"compilerOptions": {
"lib": ["deno.window"],
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/cdxgen",
"version": "11.1.4",
"version": "11.1.5",
"exports": "./lib/cli/index.js",
"include": ["*.js", "lib/**", "bin/**", "data/**", "types/**"],
"exclude": [
Expand Down
5 changes: 1 addition & 4 deletions lib/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7190,10 +7190,7 @@ export async function createBom(path, options) {
return await createMultiXBom(path, options);
}
// Use the project type alias to return any singular BOM
if (
PROJECT_TYPE_ALIASES["java"].includes(projectType[0]) ||
projectType?.[0]?.startsWith("java")
) {
if (PROJECT_TYPE_ALIASES["java"].includes(projectType[0])) {
return await createJavaBom(path, options);
}
if (PROJECT_TYPE_ALIASES["android"].includes(projectType[0])) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/cdxgen",
"version": "11.1.4",
"version": "11.1.5",
"description": "Creates CycloneDX Software Bill of Materials (SBOM) from source or container image",
"homepage": "http://github.com/cyclonedx/cdxgen",
"author": "Prabhu Subramanian <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion types/lib/cli/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6e76ca

Please sign in to comment.