fix(ci): resolve ubuntu check regressions
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user