We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af8d839 commit 3f0ee07Copy full SHA for 3f0ee07
scripts/composer/ScriptHandler.php
@@ -22,12 +22,8 @@ public static function createRequiredFiles(Event $event) {
22
$drupalFinder = new DrupalFinderComposerRuntime();
23
$drupalRoot = $drupalFinder->getDrupalRoot();
24
25
- // If Drupal root was not found, exit.
26
if (is_null($drupalRoot)) {
27
- $io = $event->getIO();
28
- $io->writeError(
29
- '<error>Drupal root could not be detected.</error>',
30
- );
+ $event->getIO()->writeError('<error>Drupal root could not be detected.</error>');
31
exit(1);
32
}
33
0 commit comments