Skip to content

Commit

Permalink
fix: sbom parse inaccurate log (#4683)
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan Bakliwal <aryanbakliwal12345@gmail.com>
  • Loading branch information
AryanBakliwal authored Jan 15, 2025
1 parent 561b48a commit 05a0505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/sbom_manager/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def parse_cyclonedx_spdx(self) -> [(str, str, str)]:

if (not version) and (package.get("version") is not None):
version = package["version"]
else:
elif version is None:
LOGGER.debug(f"No version found in {package}")

if version:
Expand Down

0 comments on commit 05a0505

Please sign in to comment.