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 65380e9 commit 40664e4Copy full SHA for 40664e4
packages/builder/src/Services/File/FileFormatter.php
@@ -23,7 +23,10 @@ public function formatFiles(array $paths): void
23
return;
24
}
25
26
- $command = "vendor/bin/pint {$fileList} --quiet";
+ $command = PHP_OS_FAMILY === 'Windows'
27
+ ? "php vendor/bin/pint {$fileList} --quiet"
28
+ : "vendor/bin/pint {$fileList} --quiet";
29
+
30
exec($command, $output, $returnCode);
31
32
if ($returnCode !== 0) {
0 commit comments