Skip to content

Commit

Permalink
Fix default stability
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rdex committed Jul 22, 2022
1 parent 93d76e0 commit 30d98ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Package/PHP/Convey/Command/Pecl.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ protected function prepare()
$this->version = 'latest';
$this->prettyVersion = 'latest-' . $this->stability;
}

if ($this->version === 'latest' && $this->stability === 'stable') {
$this->url .= '-stable';
}
}

protected function fetch($target)
Expand Down

0 comments on commit 30d98ea

Please sign in to comment.