Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"

[project]
name = "socketsecurity"
version = "2.2.4"
version = "2.2.5"
requires-python = ">= 3.10"
license = {"file" = "LICENSE"}
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion socketsecurity/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__author__ = 'socket.dev'
__version__ = '2.2.4'
__version__ = '2.2.5'
2 changes: 1 addition & 1 deletion socketsecurity/core/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def create_security_comment_sarif(diff) -> dict:
@staticmethod
def create_security_comment_json(diff: Diff) -> dict:
scan_failed = False
if len(diff.new_alerts) == 0:
if len(diff.new_alerts) > 0:
for alert in diff.new_alerts:
alert: Issue
if alert.error:
Expand Down
Loading