Skip to content

Commit 34e8f94

Browse files
committed
Removed unused var, added type
1 parent a4ffbd4 commit 34e8f94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/processors/obfProcessor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ class ObfProcessor extends BaseProcessor {
397397
}
398398

399399
async loadIntoTree(filePathOrBuffer: ProcessorInput): Promise<AACTree> {
400-
const { readBinaryFromInput, readTextFromInput, listDir, join, isDirectory, pathExists } =
400+
const { readBinaryFromInput, readTextFromInput, listDir, join, isDirectory } =
401401
this.options.fileAdapter;
402402
// Detailed logging for debugging input
403403
const bufferLength =
@@ -509,7 +509,7 @@ class ObfProcessor extends BaseProcessor {
509509
listFiles: async (): Promise<string[]> => {
510510
return await listDir(filePathOrBuffer as string);
511511
},
512-
readFile: async (name: string) => {
512+
readFile: async (name: string): Promise<Uint8Array> => {
513513
return await readBinaryFromInput(join(filePathOrBuffer as string, name));
514514
},
515515
};

0 commit comments

Comments
 (0)