Skip to content

Commit 79877d2

Browse files
vinod0mCopilot
andauthored
Update src/parsers/mermaid_parser.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2cfb372 commit 79877d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parsers/mermaid_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def _parse_sequence_diagram(self, content: str, diagram: ParsedDiagram):
286286
message_patterns = [
287287
(r'(\w+)\s*->>\s*(\w+)\s*:\s*(.+)', 'async_message'),
288288
(r'(\w+)\s*->\s*(\w+)\s*:\s*(.+)', 'sync_message'),
289-
(r'(\w+)\s*-->>\s*(\w+)\s*:\s*(.+)', 'return_message'),
289+
(r'(\w+)\s*-->\s*(\w+)\s*:\s*(.+)', 'return_message'),
290290
]
291291

292292
for pattern, msg_type in message_patterns:

0 commit comments

Comments
 (0)