Skip to content

Commit 17db071

Browse files
authored
Updated version for build (#67)
1 parent d6e97a4 commit 17db071

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.0.34"
9+
version = "2.0.35"
1010
requires-python = ">= 3.10"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [

Diff for: socketsecurity/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.0.34'
2+
__version__ = '2.0.35'
33

Diff for: socketsecurity/core/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ def get_sbom_data(self, full_scan_id: str) -> List[SocketArtifact]:
9090
log.debug(f"Failed to get SBOM data for full-scan {full_scan_id}")
9191
log.debug(response.message)
9292
return {}
93+
if not hasattr(response, "artifacts") or not response.artifacts:
94+
return artifacts
9395
for artifact_id in response.artifacts:
9496
artifacts.append(response.artifacts[artifact_id])
9597
return artifacts

0 commit comments

Comments
 (0)