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 c9cabb2 commit 2c56736Copy full SHA for 2c56736
src/utils/find-duplicate-urls.ts
@@ -8,9 +8,11 @@ export const findDuplicateUrls = async (
8
9
for (const file of files) {
10
const content = await app.vault.cachedRead(file);
11
+
12
const matches = matchUrls(content);
13
if (matches) {
- for (const url of matches) {
14
+ const uniqueMatches = new Set(matches);
15
+ for (const url of uniqueMatches) {
16
if (!urlMap.has(url)) {
17
urlMap.set(url, []);
18
}
0 commit comments