Skip to content

Commit 6ef0b5b

Browse files
committed
Flip operator and ignore cache
1 parent b73a0c3 commit 6ef0b5b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
src
22
jest.config.js
3+
tsconfig.json
34
.eslintrc
4-
tsconfig.json
5+
.cache
6+
.github

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export = async function plugin(
8888
visited = await mdxCache.get(key);
8989
}
9090

91-
if (visited && setAt <= visited.setAt) {
91+
if (visited && setAt >= visited.setAt) {
9292
linksMap[visited.path] = visited.links;
9393
headingsMap[visited.path] = visited.headings;
9494
continue;

0 commit comments

Comments
 (0)