Skip to content

Commit fde094f

Browse files
committed
using the TRUE endpoints
1 parent da8e557 commit fde094f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Downloader.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,11 @@ public function getRecipes(array $operations): array
183183
$data['locks'][$package->getName()]['recipe']['version'] = $v;
184184

185185
if (null !== $recipeRef && isset($this->endpoints[$endpoint]['_links']['archived_recipes_template'])) {
186-
$url = strtr($this->endpoints[$endpoint]['_links']['archived_recipes_template'], [
186+
$urls[] = strtr($this->endpoints[$endpoint]['_links']['archived_recipes_template'], [
187187
'{package_dotted}' => str_replace('/', '.', $package->getName()),
188188
'{ref}' => $recipeRef,
189189
]);
190190

191-
// TODO: remove once symfony/recipes has full history
192-
$url = str_replace('symfony/recipes', 'weaverryan/recipes', $url);
193-
$urls[] = $url;
194-
195191
break;
196192
}
197193

0 commit comments

Comments
 (0)