Skip to content

Commit a570775

Browse files
author
Sergii Kauk
authored
Update Brew formula
1 parent 4c5fd95 commit a570775

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cli/Valet/Cloudflared.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
class Cloudflared
88
{
9-
public $brew_formula = 'cloudflare/cloudflare/cloudflared';
10-
119
public function __construct(public CommandLine $cli, public Brew $brew)
1210
{
1311
}
@@ -44,14 +42,14 @@ public function currentTunnelUrl(?string $domain = null)
4442
*/
4543
public function installed(): bool
4644
{
47-
return $this->brew->installed($this->brew_formula);
45+
return $this->brew->installed('cloudflared');
4846
}
4947

5048
/**
5149
* Make sure cloudflared is installed.
5250
*/
5351
public function ensureInstalled(): void
5452
{
55-
$this->brew->ensureInstalled($this->brew_formula);
53+
$this->brew->ensureInstalled('cloudflared');
5654
}
5755
}

0 commit comments

Comments
 (0)