Skip to content

Commit daa7f85

Browse files
authored
Updated version (#74)
1 parent e3bfaf1 commit daa7f85

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.0.42"
9+
version = "2.0.43"
1010
requires-python = ">= 3.10"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [

Diff for: socketsecurity/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.0.42'
2+
__version__ = '2.0.43'

Diff for: socketsecurity/core/messages.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import logging
33
import re
44
from pathlib import Path
5-
6-
from docutils.nodes import title
75
from mdutils import MdUtils
86
from prettytable import PrettyTable
97

@@ -235,7 +233,7 @@ def create_security_comment_sarif(diff) -> dict:
235233
unique_rule_id = f"{base_rule_id} ({mf})"
236234
rule_name = f"Alert {base_rule_id} ({mf})"
237235
props = {}
238-
if hasattr(alert, 'props'):
236+
if hasattr(alert, 'props') and alert.props:
239237
props = alert.props
240238
suggestion = ''
241239
if hasattr(alert, 'suggestion'):

0 commit comments

Comments
 (0)