Skip to content

Commit

Permalink
Fix recipe history url
Browse files Browse the repository at this point in the history
  • Loading branch information
rosier committed Jan 23, 2023
1 parent c824772 commit 2aa65bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Command/RecipesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ private function displayPackageInformation(Recipe $recipe)
$lockBranch = $recipeLock['recipe']['branch'] ?? null;
$lockVersion = $recipeLock['recipe']['version'] ?? $recipeLock['version'] ?? null;

if ('master' === $lockBranch && \in_array($lockRepo, ['github.com/symfony/recipes', 'github.com/symfony/recipes-contrib'])) {
$lockBranch = 'main';
}

$status = '<comment>up to date</comment>';
if ($recipe->isAuto()) {
$status = '<comment>auto-generated recipe</comment>';
Expand Down

0 comments on commit 2aa65bb

Please sign in to comment.