We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f808583 commit 7af45bcCopy full SHA for 7af45bc
3 files changed
pyproject.toml
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
7
[project]
8
name = "socketsecurity"
9
-version = "2.2.4"
+version = "2.2.5"
10
requires-python = ">= 3.10"
11
license = {"file" = "LICENSE"}
12
dependencies = [
socketsecurity/__init__.py
@@ -1,2 +1,2 @@
1
__author__ = 'socket.dev'
2
-__version__ = '2.2.4'
+__version__ = '2.2.5'
socketsecurity/core/messages.py
@@ -283,7 +283,7 @@ def create_security_comment_sarif(diff) -> dict:
283
@staticmethod
284
def create_security_comment_json(diff: Diff) -> dict:
285
scan_failed = False
286
- if len(diff.new_alerts) == 0:
+ if len(diff.new_alerts) > 0:
287
for alert in diff.new_alerts:
288
alert: Issue
289
if alert.error:
0 commit comments