Skip to content
Snippets Groups Projects

Issue #3437409 ForbidCoreChangesValidator.php

Merged Ted Bowman requested to merge issue/automatic_updates-3437409:3437409-dont-allow-core into 3.0.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -47,7 +47,7 @@ final class ForbidCoreChangesValidator implements EventSubscriberInterface {
$stage = $event->stage;
// We only want to do this check if the stage belongs to Automatic Updates
// Extensions.
if ($stage->getType() !== 'automatic_updates_extensions:attended') {
if ($stage->getType() !== 'automatic_updates_extensions:attended' || !$stage->stageDirectoryExists()) {
return;
}
$active_core_packages = $this->getInstalledCorePackages($this->pathLocator->getProjectRoot());
Loading