From 8c4dc6cd48457f154eb067f296d79ef911573c91 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 26 Jun 2026 02:26:08 +0900 Subject: fix(check-platform-reqs-command): add PlatformRepository to existing composite execute nested the already-built InstalledRepository inside a second InstalledRepository, tripping the assertion that an InstalledRepository may not contain another. PHP adds a PlatformRepository to the existing composite via addRepository; do the same. Un-ignores CheckPlatformReqsCommandTest::test_failed_platform_requirement. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/command/base_command.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crates/shirabe/src/command/base_command.rs') diff --git a/crates/shirabe/src/command/base_command.rs b/crates/shirabe/src/command/base_command.rs index f754d0a..f3c88e5 100644 --- a/crates/shirabe/src/command/base_command.rs +++ b/crates/shirabe/src/command/base_command.rs @@ -583,12 +583,7 @@ impl BaseCommand for BaseCommandData { .expect("Table::set_style I/O cannot fail") .expect("'compact' is a built-in table style"); renderer - .set_rows( - table - .into_iter() - .map(Into::into) - .collect(), - ) + .set_rows(table.into_iter().map(Into::into).collect()) .render(); let _ = TableSeparator::new(); } -- cgit v1.3.1