Commit d17cc47
committed
MK8S-25: Fix create_index() to use _get_index_file_paths() directly
Complete the factorization by making create_index() consistent with clean():
- Both functions now iterate over the same _get_index_file_paths() result
- Eliminates redundant directory path construction in create_index()
- Uses index_file.parent.mkdir() instead of separate directory iteration
- Ensures perfect consistency between creation, cleanup, and task targets1 parent 2f36e71 commit d17cc47
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
287 | 286 | | |
288 | 287 | | |
289 | 288 | | |
| |||
0 commit comments