Repository navigation
Commit 77ff621
fix(server): keep unexpected rmdir errors in worktree removal warnings
removeEmptyDirectory treated every rmdir failure as a folder that still had
files, so a permission error was logged as "kept files". Only ENOTEMPTY
means that now; other errors reach the existing warning with their details.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent f6d3251 commit 77ff621
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
3653 | 3654 | | |
3654 | 3655 | | |
3655 | 3656 | | |
3656 | | - | |
| 3657 | + | |
3657 | 3658 | | |
3658 | 3659 | | |
3659 | 3660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
0 commit comments