From 652860a48d0ea5db5f9b20ed98ff69a98d32c656 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 16 Aug 2026 16:25:50 +0900 Subject: fix(symfony-finder): fail SplFileInfo::get_size on a failed stat \SplFileInfo::getSize() throws a \RuntimeException when stat fails, and neither Symfony's subclass nor Composer's Filesystem::directorySize() catches it. Returning 0 turned an unreadable file into an empty one. Co-Authored-By: Claude Opus 5 (1M context) --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 3861f168..0dfd1abf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2257,6 +2257,7 @@ dependencies = [ name = "shirabe-symfony-finder" version = "0.0.1" dependencies = [ + "anyhow", "chrono", "indexmap", "regex", -- cgit v1.3.1-4-g156e