Skip to content

Commit

Permalink
Remove deprecated warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
nntoan committed May 14, 2024
1 parent d4d1bf0 commit 1526e2a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cli/ValetProMax/Elasticsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,11 @@ public function configure(string $version = self::ES_DEFAULT_VERSION): void
$version = $this->validateRequestedVersion($version);

if (!$this->isDockerVersion($version)) {
$this->brew->unTap($this->deprecatedTaps);
foreach ($this->deprecatedTaps as $deprecatedTap) {
if ($this->brew->hasTap($deprecatedTap)) {
$this->brew->unTap($this->deprecatedTaps);
}
}
// For Docker versions we don't need to anything here.

// todo; install java dependency? and remove other java deps? seems like there can be only one running.
Expand Down

0 comments on commit 1526e2a

Please sign in to comment.