Skip to content

Commit

Permalink
add quotes around binary path
Browse files Browse the repository at this point in the history
  • Loading branch information
ElRochito committed Aug 17, 2023
1 parent a71a20b commit 17793a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/Insights/SyntaxCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function process(): void
$toAnalyse = $this->getTarget();

$cmdLine = sprintf(
'%s --no-colors --no-progress --json %s %s',
'"%s" --no-colors --no-progress --json %s %s',
$this->getBinary(),
implode(' ', $this->getShellExcludeArgs()),
$toAnalyse
Expand Down

0 comments on commit 17793a9

Please sign in to comment.