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'],