1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 16:14:44 +00:00
Files
Mole/lib
tw93 d8b396533d fix: implement MO_USE_FIND and improve fd fallback logic
Fixes the issue reported in PR #410 where `mo purge` fails to find
artifacts when `fd` returns empty results.

Changes:
- Implement MO_USE_FIND environment variable to force using find
- Improve fd fallback: check if fd output is empty (-s test)
- Add debug logging to show which tool is being used
- If fd returns no results, fallback to find automatically

This fixes the root cause where fd successfully runs (exit 0) but
finds nothing, preventing the find fallback from being triggered.
2026-02-04 19:57:44 +08:00
..
2026-01-26 07:24:38 +00:00