Commit d7ecd41
committed
fix: add recursive fallback and set -e guards for find in copy_directories
- Add || true to all find invocations to prevent silent exits under set -e
- Fall back to recursive find when shallow (-maxdepth 1) search finds nothing,
preserving backward compatibility for nested directory patterns1 parent 86901f3 commit d7ecd41
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | | - | |
338 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
339 | 343 | | |
340 | 344 | | |
341 | 345 | | |
| |||
0 commit comments