This commit is contained in:
Oliver Davies 2024-02-21 00:27:58 +00:00
parent 50b5e15021
commit f80427a559

1
versa
View file

@ -61,6 +61,7 @@ $application->setCode(function (InputInterface $input): int {
);
$dependencies = array_keys($json['require']);
// TODO: what if there are no dev dependencies?
$devDependencies = array_keys($json['require-dev']);
if (in_array(needle: 'drupal/core', haystack: $dependencies, strict: true) || in_array(needle: 'drupal/core-recommended', haystack: $dependencies, strict: true)) {