File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ public function createAssetSymlinks() {
370
370
}
371
371
372
372
/**
373
- * Create a PHP stub file at we directory.
373
+ * Create a PHP stub file at web directory.
374
374
*
375
375
* @param string $path
376
376
* The PHP file from the app directory.
@@ -486,6 +486,10 @@ protected function getModulePath(string $module): ?string {
486
486
protected function getStatisticsPath (): void {
487
487
$ composerRoot = $ this ->getComposerRoot ();
488
488
$ fs = new SymfonyFilesystem ();
489
+ if (!$ fs ->exists ($ composerRoot )) {
490
+ $ this ->io ->writeError ('Composer root path not found ' );
491
+ return ;
492
+ }
489
493
$ statisticsPath = $ this ->getModulePath ('statistics ' );
490
494
$ statisticsCorePath = 'core/modules/statistics/statistics.php ' ;
491
495
You can’t perform that action at this time.
0 commit comments