mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
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:
parent
54e900955a
commit
2b6a15e478
|
@ -93,7 +93,7 @@ export class FileSystemManager implements BinaryData.Manager {
|
||||||
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
binaryDataDirs.map(async (dir) => {
|
binaryDataDirs.map(async (dir) => {
|
||||||
await fs.rm(dir, { recursive: true });
|
await fs.rm(dir, { recursive: true, force: true });
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue