mirror of
https://github.com/silverstripe/recipe-plugin.git
synced 2024-10-22 14:05:55 +02:00
parent
8006dee7d9
commit
8a53a325b0
@ -107,7 +107,7 @@ trait RecipeCommandBehaviour
|
||||
// Check requires
|
||||
$requires = $this->getComposer()->getPackage()->getRequires();
|
||||
if (isset($requires[$recipe])) {
|
||||
return $provides[$recipe]->getPrettyConstraint();
|
||||
return $requires[$recipe]->getPrettyConstraint();
|
||||
}
|
||||
|
||||
// No existing version
|
||||
|
Loading…
Reference in New Issue
Block a user