diff --git a/src/main.ts b/src/main.ts index 5cffe6e..d41d4fe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -221,7 +221,6 @@ export default class ImageToTextOcrPlugin extends Plugin { * get file path based on filename */ async resolveImagePath(fileName: string): Promise { - // todo avoid getFiles const files = this.app.vault.getFiles(); const imageFile = files.find((file) => file.name === fileName);