From a5707751c823c552331eab684ba82308d7bc8dd5 Mon Sep 17 00:00:00 2001 From: Sergii Kauk Date: Mon, 22 Jan 2024 16:27:58 +0100 Subject: [PATCH] Update Brew formula --- cli/Valet/Cloudflared.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/Valet/Cloudflared.php b/cli/Valet/Cloudflared.php index c23a65e..d30dbbe 100644 --- a/cli/Valet/Cloudflared.php +++ b/cli/Valet/Cloudflared.php @@ -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'); } }