Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
pderaaij committed Oct 14, 2024
1 parent e85abeb commit fa1d856
Show file tree
Hide file tree
Showing 2 changed files with 1,023 additions and 858 deletions.
4 changes: 3 additions & 1 deletion packages/foam-vscode/src/core/model/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ export class FoamWorkspace implements IDisposable {
const resources: Resource[] = [];

this._resources.find(needle).forEach(elm => {
resources.push(elm[1]);
if (elm[0].indexOf(getExtension(normalize(identifier))) > 0) {
resources.push(elm[1]);
}
});
if (mdNeedle) {
this._resources.find(mdNeedle).forEach(elm => resources.push(elm[1]));
Expand Down
Loading

0 comments on commit fa1d856

Please sign in to comment.