File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
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.0.42 "
9
+ version = " 2.0.43 "
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.0.42 '
2
+ __version__ = '2.0.43 '
Original file line number Diff line number Diff line change 2
2
import logging
3
3
import re
4
4
from pathlib import Path
5
-
6
- from docutils .nodes import title
7
5
from mdutils import MdUtils
8
6
from prettytable import PrettyTable
9
7
@@ -235,7 +233,7 @@ def create_security_comment_sarif(diff) -> dict:
235
233
unique_rule_id = f"{ base_rule_id } ({ mf } )"
236
234
rule_name = f"Alert { base_rule_id } ({ mf } )"
237
235
props = {}
238
- if hasattr (alert , 'props' ):
236
+ if hasattr (alert , 'props' ) and alert . props :
239
237
props = alert .props
240
238
suggestion = ''
241
239
if hasattr (alert , 'suggestion' ):
You can’t perform that action at this time.
0 commit comments