Skip to content
Snippets Groups Projects
Commit 1ef64e7e authored by jurgenhaas's avatar jurgenhaas
Browse files

Make sure we only continue when Drupal core is already available

parent e63fecb7
No related branches found
Tags v1.7.0
No related merge requests found
Pipeline #
......@@ -85,6 +85,10 @@ class Handler {
$installationManager = $this->composer->getInstallationManager();
$drupalCorePackage = $this->getDrupalCorePackage();
if (!$drupalCorePackage) {
// We are called too early, Drupal core is not available yet.
return;
}
$corePath = $installationManager->getInstallPath($drupalCorePackage);
// Directory where the root project is being created
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment