diff --git a/src/Command/GenerateManifestCommand.php b/src/Command/GenerateManifestCommand.php index dadcef0..54beb15 100644 --- a/src/Command/GenerateManifestCommand.php +++ b/src/Command/GenerateManifestCommand.php @@ -113,7 +113,7 @@ private function storeFile(string $data, string $prefixUrl, string $storageFolde $this->filesystem->remove($tempFilename); return [ - 'src' => sprintf('%s%s', $prefixUrl, $filename), + 'src' => sprintf('%s/%s', $prefixUrl, $filename), 'type' => $mime, ]; } @@ -370,6 +370,9 @@ private function processProgressBar(ProgressBar $progressBar, string $type, stri private function processActions(SymfonyStyle $io, array $manifest): array|int { + if ($this->config['file_handlers'] === []) { + return $manifest; + } $io->info('Processing file handlers'); foreach ($manifest['file_handlers'] as $id => $handler) { if (str_starts_with((string) $handler['action'], '/')) {