Workaround for #129

This commit is contained in:
Simon Cambier
2022-11-12 16:26:02 +01:00
parent f5051ff551
commit ce2d1fa5f4
4 changed files with 6 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ export async function fileToIndexedDocument(
// Look for links that lead to non-existing files,
// and add them to the index.
if (metadata) {
// FIXME: https://github.com/scambier/obsidian-omnisearch/issues/129
const nonExisting = getNonExistingNotes(file, metadata)
for (const name of nonExisting.filter(
o => !cacheManager.getLiveDocument(o)