Skip to content

Commit 0cff6e8

Browse files
author
Ozan Tellioglu
committed
#5 Bulk Conversion Issue
1 parent 802ef91 commit 0cff6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const getFilesUnderPath = (path: string, plugin: LinkConverterPlugin): TF
99
var folderObj = app.vault.getAbstractFileByPath(path);
1010
if (folderObj instanceof TFolder && folderObj.children) {
1111
for (let child of folderObj.children) {
12-
if (child instanceof TFile) filesUnderPath.push(child);
12+
if (child instanceof TFile && child.extension === 'md') filesUnderPath.push(child);
1313
if (child instanceof TFolder) recursiveFx(child.path, app);
1414
}
1515
}

0 commit comments

Comments
 (0)