diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-23 00:59:33 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-23 01:57:21 +0900 |
| commit | d707cc1ed26efa62c74243254a95fae17192a840 (patch) | |
| tree | 30ce45b22cb1eb9173e6060380ce4b257d83d413 /crates/mozart/src/commands/run_script.rs | |
| parent | d348ff405ca9f37711f918db9570598ca85e3a55 (diff) | |
| download | php-mozart-d707cc1ed26efa62c74243254a95fae17192a840.tar.gz php-mozart-d707cc1ed26efa62c74243254a95fae17192a840.tar.zst php-mozart-d707cc1ed26efa62c74243254a95fae17192a840.zip | |
fix(clear-cache): add per-directory output, read-only guard, and always exit 0
Match Composer's ClearCacheCommand behavior:
- Print per-directory status messages (clearing/GC) instead of a single summary
- Skip read-only caches with an informational message
- Print message for non-existent cache directories instead of silently skipping
- Catch filesystem errors and always return exit code 0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/run_script.rs')
0 files changed, 0 insertions, 0 deletions
