mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 09:55:37 +08:00
minor: prevent warning when installing cmake with Homebrew
This commit is contained in:
@@ -73,7 +73,7 @@ class MacOSToolCheckList
|
|||||||
{
|
{
|
||||||
foreach ($missing as $cmd) {
|
foreach ($missing as $cmd) {
|
||||||
try {
|
try {
|
||||||
shell(true)->exec('brew install ' . escapeshellarg($cmd));
|
shell(true)->exec('brew install --formula ' . escapeshellarg($cmd));
|
||||||
} catch (RuntimeException) {
|
} catch (RuntimeException) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user