Skip to content
Snippets Groups Projects

Issue #3230024: Collect exclusions from event objects

2 files
+ 7
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -71,8 +71,8 @@ class UpdateSubscriber implements EventSubscriberInterface {
$exclusions[] = $private;
}
// If this module is a git clone, exclude it.
if (is_dir(__DIR__ . '/../.git')) {
$exclusions[] = $this->fileSystem->realpath(__DIR__ . '/..');
if (is_dir(__DIR__ . '/../../.git')) {
$exclusions[] = $this->fileSystem->realpath(__DIR__ . '/../..');
}
// Exclude site-specific settings files.
Loading