Skip to content

Commit 6548afa

Browse files
committed
optimized and bool flag args fixed
1 parent d36475b commit 6548afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

socketsecurity/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def get_added_and_removed_packages(self, head_full_scan_id: Optional[str], new_f
437437
# Process added and updated artifacts
438438
for artifact in chain(diff_report.artifacts.added, diff_report.artifacts.updated):
439439
try:
440-
pkg = Package.from_diff_artifact(artifact)
440+
pkg = Package.from_socket_artifact(artifact)
441441
added_packages[artifact.id] = pkg
442442
except KeyError as e:
443443
log.error(f"KeyError creating package from added artifact {artifact.id}: {e}")

0 commit comments

Comments
 (0)