diff --git a/app/src/util/file-handler/NodeFileHandler.ts b/app/src/util/file-handler/NodeFileHandler.ts index 6ad42ed0..723b699b 100644 --- a/app/src/util/file-handler/NodeFileHandler.ts +++ b/app/src/util/file-handler/NodeFileHandler.ts @@ -99,7 +99,7 @@ export class NodeFileHandler implements BaseFileHandler { if (!dir) { throw new DOMException(...GONE) } - return dir.getFileHandle(fileName) + return await dir.getFileHandle(fileName) } catch (err) { console.error("Failed to get relative file " + fileName + ": " + err) return undefined