mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 05:14:52 +08:00
minor: prevent warning when installing cmake with Homebrew
This commit is contained in:
parent
a00f8945ba
commit
cf22949f3b
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user