Skip to content

Commit 2aa65bb

Browse files
committed
Fix recipe history url
1 parent c824772 commit 2aa65bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Command/RecipesCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ private function displayPackageInformation(Recipe $recipe)
165165
$lockBranch = $recipeLock['recipe']['branch'] ?? null;
166166
$lockVersion = $recipeLock['recipe']['version'] ?? $recipeLock['version'] ?? null;
167167

168+
if ('master' === $lockBranch && \in_array($lockRepo, ['github.com/symfony/recipes', 'github.com/symfony/recipes-contrib'])) {
169+
$lockBranch = 'main';
170+
}
171+
168172
$status = '<comment>up to date</comment>';
169173
if ($recipe->isAuto()) {
170174
$status = '<comment>auto-generated recipe</comment>';

0 commit comments

Comments
 (0)