aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/completion_trait.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-24 21:07:36 +0900
committernsfisis <nsfisis@gmail.com>2026-08-24 21:07:36 +0900
commit2f6689c3c1476c40a7c722491c1fcd5763e7d55f (patch)
tree494a73f17bb388ca640bb83342302ca6ebcd42c5 /crates/shirabe/src/command/completion_trait.rs
parent20f9787cda5b846c730cff97a4c7a3777ff3414a (diff)
downloadphp-shirabe-2f6689c3c1476c40a7c722491c1fcd5763e7d55f.tar.gz
php-shirabe-2f6689c3c1476c40a7c722491c1fcd5763e7d55f.tar.zst
php-shirabe-2f6689c3c1476c40a7c722491c1fcd5763e7d55f.zip
fix(require-command): report an unwritable composer.json
The write-back probe discarded the file_put_contents result and returned a hard-coded false, so the comparison against false always held and the error branch was taken for every path is_writable() rejected. Compare the write result instead, matching the PHP original. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/completion_trait.rs')
0 files changed, 0 insertions, 0 deletions