We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba3566c commit e489634Copy full SHA for e489634
src/main.ts
@@ -370,7 +370,7 @@ export default class MediaDbPlugin extends Plugin {
370
// find and possibly create the folder set in settings or passed in folder
371
const folder = options.folder ?? this.app.vault.getAbstractFileByPath(this.settings.folder);
372
if (!folder) {
373
- await this.app.vault.createFolder(folder.path);
+ await this.app.vault.createFolder(this.settings.folder);
374
}
375
376
fileName = replaceIllegalFileNameCharactersInString(fileName);
0 commit comments