@@ -83,7 +83,7 @@ class DotProcessor extends BaseProcessor {
8383
8484 async extractTexts ( filePathOrBuffer : ProcessorInput ) : Promise < string [ ] > {
8585 const { readTextFromInput } = this . options . fileAdapter ;
86- await Promise . resolve ( ) ;
86+
8787 const content = await readTextFromInput ( filePathOrBuffer ) ;
8888
8989 const { nodes, edges } = this . parseDotFile ( content ) ;
@@ -106,7 +106,7 @@ class DotProcessor extends BaseProcessor {
106106
107107 async loadIntoTree ( filePathOrBuffer : ProcessorInput ) : Promise < AACTree > {
108108 const { readBinaryFromInput, readTextFromInput } = this . options . fileAdapter ;
109- await Promise . resolve ( ) ;
109+
110110 const filename =
111111 typeof filePathOrBuffer === 'string' ? getBasename ( filePathOrBuffer ) : 'upload.dot' ;
112112 const buffer = await readBinaryFromInput ( filePathOrBuffer ) ;
@@ -213,7 +213,7 @@ class DotProcessor extends BaseProcessor {
213213 outputPath : string
214214 ) : Promise < Uint8Array > {
215215 const { readTextFromInput, writeBinaryToPath } = this . options . fileAdapter ;
216- await Promise . resolve ( ) ;
216+
217217 const content = await readTextFromInput ( filePathOrBuffer ) ;
218218 let translatedContent = content ;
219219
@@ -237,7 +237,7 @@ class DotProcessor extends BaseProcessor {
237237
238238 async saveFromTree ( tree : AACTree , _outputPath : string ) : Promise < void > {
239239 const { writeTextToPath } = this . options . fileAdapter ;
240- await Promise . resolve ( ) ;
240+
241241 let dotContent = `digraph "${ tree . metadata ?. name || 'AACBoard' } " {\n` ;
242242
243243 // Helper to escape DOT string
0 commit comments