chore: ignore test tmp delete failures on windows (#3088)

This commit is contained in:
Marvin Hagemeister
2025-07-10 10:21:22 +02:00
committed by GitHub
parent cfc9a9a601
commit a941dd33c5
+2 -4
View File
@@ -127,10 +127,8 @@ export async function withTmpDir(
async [Symbol.asyncDispose]() {
try {
await Deno.remove(dir, { recursive: true });
} catch (error) {
if (!(error instanceof Deno.errors.PermissionDenied)) {
throw error;
}
} catch {
// Ignore errors Files in tmp will be cleaned up by the OS
}
},
};