fix(core): Do not throw when deleting workflows with executions without binary-data (#7411)

Fixes https://n8nio.sentry.io/issues/4508969090
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-10-11 18:00:06 +02:00 committed by GitHub
parent 54e900955a
commit 2b6a15e478
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ export class FileSystemManager implements BinaryData.Manager {
await Promise.all(
binaryDataDirs.map(async (dir) => {
await fs.rm(dir, { recursive: true });
await fs.rm(dir, { recursive: true, force: true });
}),
);
}