Skip to content

Commit

Permalink
fix(TraverseNote): 🐛 Don't add MD notes to ObsG
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Nov 25, 2021
1 parent 19a0e8d commit cc7be40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ export default class BCPlugin extends Plugin {
const { resolvedLinks, unresolvedLinks } = this.app.metadataCache;

for (const source in resolvedLinks) {
if (!source.endsWith(".md")) continue;
const sourceBase = getBaseFromMDPath(source);
addNodesIfNot(ObsG, [sourceBase]);

Expand Down

0 comments on commit cc7be40

Please sign in to comment.