mirror of
https://github.com/ChromeDevTools/chrome-devtools-mcp.git
synced 2026-09-14 19:45:30 +08:00
b24731572f
This PR is created on top of PR #2519 and addresses two formatter bugs discovered during review: ConsoleFormatter bug: When a console log has an empty message text but contains arguments, the formatter correctly shifts the first argument out of the arguments list to serve as the message text. However, it never sets the text field to this shifted argument, causing the first argument to be completely lost in the output. IssueFormatter bug: When a concise issue has no description, the formatting helper prints the literal string "undefined" instead of falling back to "Unknown Issue". Closes #2519 --------- Co-authored-by: ZayanKhan-12 <khanzayan200@gmail.com>
15 KiB
15 KiB