Skip to content

Commit ea37b85

Browse files
author
Orlando Barrera II
committed
Fixed the package info link
1 parent 6476903 commit ea37b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

socketsecurity/core/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def create_security_comment_sarif(diff) -> dict:
224224

225225
# Prepare descriptions with <br/> replacements
226226
short_desc = f"{alert.props.get('note', '')}<br/><br/>Suggested Action:<br/>{alert.suggestion}"
227-
full_desc = f"{alert.title} - {alert.description.replace('\r\n', '<br/>')}<br/>{socket_url}"
227+
full_desc = f"{alert.title} - {alert.description.replace('\r\n', '<br/>')}\r\n<a href=\"{socket_url}\">{socket_url}</a>"
228228

229229
# Identify the line and snippet in the manifest file
230230
line_number, line_content = Messages.find_line_in_file(pkg_name, pkg_version, manifest_file)

0 commit comments

Comments
 (0)