From 09f7aa68af324f862ef9ad0e514b75ab7ab090fd Mon Sep 17 00:00:00 2001 From: Grzegorz Godlewski Date: Thu, 5 Oct 2023 20:19:59 +0200 Subject: [PATCH] Fix directory scanner --- src/containers/transform/DirectoryScanner.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/containers/transform/DirectoryScanner.ts b/src/containers/transform/DirectoryScanner.ts index f5c54e62..aa721333 100644 --- a/src/containers/transform/DirectoryScanner.ts +++ b/src/containers/transform/DirectoryScanner.ts @@ -116,6 +116,10 @@ export class DirectoryScanner { continue; } + if (!await existingDirectory.exists(realFileName)) { + continue; + } + if (await existingDirectory.isDirectory(realFileName)) { if (realFileName.endsWith('.assets')) { continue;