Skip to content
Snippets Groups Projects

Resolve #3454248 "Recipeactivator stores relative"

Files
3
+ 1
1
@@ -60,7 +60,7 @@ class RecipeActivator implements ActivatorInterface, EventSubscriberInterface {
@@ -60,7 +60,7 @@ class RecipeActivator implements ActivatorInterface, EventSubscriberInterface {
*/
*/
public function onApply(RecipeAppliedEvent $event): void {
public function onApply(RecipeAppliedEvent $event): void {
$list = $this->state->get(static::STATE_KEY, []);
$list = $this->state->get(static::STATE_KEY, []);
$list[] = $event->recipe->path;
$list[] = $this->fileSystem->realpath($event->recipe->path);
$this->state->set(static::STATE_KEY, $list);
$this->state->set(static::STATE_KEY, $list);
}
}
Loading