Skip to content
Snippets Groups Projects
Commit 439b1738 authored by Adam G-H's avatar Adam G-H
Browse files

Remove another line

parent 01fc1226
No related branches found
No related tags found
No related merge requests found
......@@ -66,14 +66,12 @@ final class UnknownPathExcluder implements EventSubscriberInterface {
* See \Drupal\package_manager\ComposerInspector::validate().
*/
public function excludeUnknownPaths(CollectPathsToExcludeEvent $event): void {
$known_paths = [];
$web_root = $this->pathLocator->getWebRoot();
// If the web root and project root are the same, there's nothing to do.
if (empty($web_root)) {
return;
}
$known_paths[] = $web_root;
$known_paths[] = [$web_root];
$project_root = $this->pathLocator->getProjectRoot();
// To determine the scaffold files to exclude, the installed packages must
......
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