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 0be624e commit e04eeafCopy full SHA for e04eeaf
src/Concerns/WithWSL.php
@@ -28,7 +28,7 @@ protected function installMcpViaWsl(string $name, string $command, array $args):
28
29
// Read existing config via PowerShell
30
$readCommand = "powershell.exe -NoProfile -Command \"if (Test-Path '{$filePath}') { Get-Content '{$filePath}' -Raw } else { '{}' }\"";
31
- $result = Process::run($readCommand);
+ $result = Process::run($readCommand)->throw();
32
33
$config = json_decode($result->output() ?: '{}', true) ?: [];
34
0 commit comments