We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee35aa commit 81cb483Copy full SHA for 81cb483
src/Commands/LoopMcpServerStartCommand.php
@@ -56,7 +56,7 @@ public function handle(McpHandler $mcpHandler): int
56
$this->comment('Received data: '.$data);
57
}
58
59
- foreach (explode("\n", $data) as $line) {
+ foreach (explode("\n", trim($data)) as $line) {
60
if (! json_validate($line)) {
61
if ($this->option('debug')) {
62
$this->comment('Invalid line: '.$line);
0 commit comments