File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
7
7
[project ]
8
8
name = " socketsecurity"
9
- version = " 2.2.4 "
9
+ version = " 2.2.5 "
10
10
requires-python = " >= 3.10"
11
11
license = {"file" = " LICENSE" }
12
12
dependencies = [
Original file line number Diff line number Diff line change 1
1
__author__ = 'socket.dev'
2
- __version__ = '2.2.4 '
2
+ __version__ = '2.2.5 '
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ def create_security_comment_sarif(diff) -> dict:
283
283
@staticmethod
284
284
def create_security_comment_json (diff : Diff ) -> dict :
285
285
scan_failed = False
286
- if len (diff .new_alerts ) == 0 :
286
+ if len (diff .new_alerts ) > 0 :
287
287
for alert in diff .new_alerts :
288
288
alert : Issue
289
289
if alert .error :
You can’t perform that action at this time.
0 commit comments