There was an error while loading. Please reload this page.
1 parent 0ca5d41 commit 6ecba30Copy full SHA for 6ecba30
scripts/docsLint.js
@@ -28,7 +28,9 @@ pages.forEach(function checkPage (pagePath) {
28
let inlineLinkRegex = /\[.*?\]\((.*?)\)/g;
29
match = inlineLinkRegex.exec(content);
30
while (match !== null) {
31
- checkLink(pagePath, match[1], 'Page does not exist');
+ if (!checkLink(pagePath, match[1])) {
32
+ addError(pagePath, match[0], 'Page does not exist');
33
+ }
34
35
}
36
0 commit comments