Skip to content

Commit 75bc3e5

Browse files
committed
Fix package display
1 parent 8c68e47 commit 75bc3e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/AssetMapper/Command/ImportMapUpdateCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\AssetMapper\Command;
1313

14+
use Symfony\Component\AssetMapper\ImportMap\ImportMapEntry;
1415
use Symfony\Component\AssetMapper\ImportMap\ImportMapManager;
1516
use Symfony\Component\Console\Attribute\AsCommand;
1617
use Symfony\Component\Console\Command\Command;
@@ -59,7 +60,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5960
if (0 < \count($packages)) {
6061
$io->success(sprintf(
6162
'Updated %s package%s in importmap.php.',
62-
implode(', ', $updatedPackages),
63+
implode(', ', array_map(static fn (ImportMapEntry $entry): string => $entry->importName, $updatedPackages)),
6364
1 < \count($updatedPackages) ? 's' : '',
6465
));
6566
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy