Commit e8d9c22
refactor: simplify copyDirectoryContents implementation
Replaced manual glob and loop with a single fsCopy call from fs-extra. This improves performance, robustness against EMFILE errors, and significantly simplifies the code while maintaining the same behavior. Added a learning entry to .jules/refactor.md.
Co-authored-by: gonzaloriestra <14979109+gonzaloriestra@users.noreply.github.com>1 parent 3a4bf9c commit e8d9c22
2 files changed
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
| 720 | + | |
737 | 721 | | |
0 commit comments