Commit d209e04
committed
refactor(rm): simplify error handling logic in recursive directory removal
Remove unnecessary else block, ensuring error propagation and continuation occur consistently after directory closure checks in safe_remove_dir_recursive_impl, improving code clarity and reducing nesting.1 parent 225dea4 commit d209e04
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | 397 | | |
| 398 | + | |
| 399 | + | |
401 | 400 | | |
402 | 401 | | |
403 | 402 | | |
| |||
0 commit comments