Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 17db071

Browse files
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

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
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 = [

‎socketsecurity/__init__.py‎

Lines changed: 1 addition & 1 deletion
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

‎socketsecurity/core/__init__.py‎

Lines changed: 2 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /