We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7124a65 commit 4ed3e87Copy full SHA for 4ed3e87
1 file changed
src/Installer.php
@@ -370,7 +370,7 @@ public function createAssetSymlinks() {
370
}
371
372
/**
373
- * Create a PHP stub file at we directory.
+ * Create a PHP stub file at web directory.
374
*
375
* @param string $path
376
* The PHP file from the app directory.
@@ -486,6 +486,10 @@ protected function getModulePath(string $module): ?string {
486
protected function getStatisticsPath(): void {
487
$composerRoot = $this->getComposerRoot();
488
$fs = new SymfonyFilesystem();
489
+ if (!$fs->exists($composerRoot)) {
490
+ $this->io->writeError('Composer root path not found');
491
+ return;
492
+ }
493
$statisticsPath = $this->getModulePath('statistics');
494
$statisticsCorePath = 'core/modules/statistics/statistics.php';
495
0 commit comments