Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit75bc3e5

Browse files
committed
Fix package display
1 parent8c68e47 commit75bc3e5

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
namespaceSymfony\Component\AssetMapper\Command;
1313

14+
useSymfony\Component\AssetMapper\ImportMap\ImportMapEntry;
1415
useSymfony\Component\AssetMapper\ImportMap\ImportMapManager;
1516
useSymfony\Component\Console\Attribute\AsCommand;
1617
useSymfony\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(staticfn (ImportMapEntry$entry):string =>$entry->importName,$updatedPackages)),
6364
1 <\count($updatedPackages) ?'s' :'',
6465
));
6566
}else {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp