From 8c146e2746c525b2d4306a162ee984f9c9467039 Mon Sep 17 00:00:00 2001 From: Simon Schaufelberger Date: Thu, 18 Apr 2024 00:56:41 +0200 Subject: [PATCH] [BUGFIX] Create directory for new TYPO3 version --- utils/generator/src/FileSystem/ConfigFilesystem.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/generator/src/FileSystem/ConfigFilesystem.php b/utils/generator/src/FileSystem/ConfigFilesystem.php index c5a7de7bb..e6e5bbad8 100644 --- a/utils/generator/src/FileSystem/ConfigFilesystem.php +++ b/utils/generator/src/FileSystem/ConfigFilesystem.php @@ -91,6 +91,8 @@ private function createConfigurationFileIfNotExists(string $configFilePath): voi return; } + $parentDirectory = dirname($configFilePath); + $this->filesystem->mkdir($parentDirectory); $this->filesystem->touch($configFilePath); $this->filesystem->appendToFile( $configFilePath,