fix(ci): resolve ubuntu check regressions
check / check (ubuntu-latest) (push) Successful in 2m9s
check / check (ubuntu-latest) (pull_request) Successful in 2m3s
check / check (macos-latest) (push) Has been cancelled
check / check (macos-latest) (pull_request) Has been cancelled

This commit is contained in:
Stefano Fiorini
2026-05-03 23:05:58 -05:00
parent a07b9eeb29
commit 78f4adfc74
7 changed files with 31 additions and 7 deletions
+1 -1
View File
@@ -512,7 +512,7 @@ async function clearGeneratedRoot(rootDir) {
// Remove the directory only if nothing protected remains inside it.
const remaining = await readdir(fullPath).catch(() => []);
if (remaining.length === 0) {
await rm(fullPath, { force: true });
await rm(fullPath, { recursive: true, force: true });
}
} else {
await rm(fullPath, { force: true });