1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00

Update Brew formula

This commit is contained in:
Sergii Kauk
2024-01-22 16:27:58 +01:00
committed by GitHub
parent 4c5fd953fc
commit a5707751c8

View File

@@ -6,8 +6,6 @@
class Cloudflared
{
public $brew_formula = 'cloudflare/cloudflare/cloudflared';
public function __construct(public CommandLine $cli, public Brew $brew)
{
}
@@ -44,7 +42,7 @@ public function currentTunnelUrl(?string $domain = null)
*/
public function installed(): bool
{
return $this->brew->installed($this->brew_formula);
return $this->brew->installed('cloudflared');
}
/**
@@ -52,6 +50,6 @@ public function installed(): bool
*/
public function ensureInstalled(): void
{
$this->brew->ensureInstalled($this->brew_formula);
$this->brew->ensureInstalled('cloudflared');
}
}