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:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user