Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-baumberger committed Feb 3, 2024
1 parent dc648b0 commit 1bba315
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ export default class ImageToTextOcrPlugin extends Plugin {
* get file path based on filename
*/
async resolveImagePath(fileName: string): Promise<string> {
// todo avoid getFiles
const files = this.app.vault.getFiles();
const imageFile = files.find((file) => file.name === fileName);

Expand Down

0 comments on commit 1bba315

Please sign in to comment.