From 76d133a46caa2c1d3257d60a938eb699a0d7a17a Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sun, 14 Jan 2024 11:53:18 +0100 Subject: [PATCH] Bug fixed during first manifest file creation --- src/Command/GenerateManifestCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/GenerateManifestCommand.php b/src/Command/GenerateManifestCommand.php index 0b735ab..2724c90 100644 --- a/src/Command/GenerateManifestCommand.php +++ b/src/Command/GenerateManifestCommand.php @@ -54,8 +54,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int } try { - if (! $this->filesystem->exists($this->dest['manifest_filepath'])) { - $this->filesystem->mkdir($this->dest['manifest_filepath']); + if (! $this->filesystem->exists(dirname($this->dest['manifest_filepath']))) { + $this->filesystem->mkdir(dirname($this->dest['manifest_filepath'])); } file_put_contents( (string) $this->dest['manifest_filepath'],