Commit e0ff37f
committed
MK8S-25: Enhance index.html cleanup to remove empty directories
Fix "Cleanup build tree" failures by ensuring clean functions remove
not just index.html files but also any empty parent directories created
during index file creation. This prevents directory removal conflicts
during the overall cleanup process.
- Clean up index.html files first
- Remove empty parent directories that were created for index files
- Use safe directory removal with OSError handling
- Ensures proper cleanup coordination between repository and packaging tasks1 parent a01036c commit e0ff37f
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
280 | 288 | | |
281 | 289 | | |
282 | 290 | | |
| |||
0 commit comments