Skip to content

Commit 63e91e5

Browse files
committed
Remove duplicate function
1 parent adc307f commit 63e91e5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/scripts/markdown-checker.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,6 @@ function processMarkdown(path) {
166166
// console.warn(`White space in link found: ${path}:${lineNumber}`)
167167
// }
168168

169-
while ((brokenLinkMatch = BROKEN_LINK_REGEX.exec(markdownFile))) {
170-
const lineNumber = getLineNumber(markdownFile, brokenLinkMatch.index)
171-
console.warn(`Broken link found: ${path}:${lineNumber}`)
172-
173-
// if (!BROKEN_LINK_REGEX.global) break
174-
}
175-
176169
checkMarkdownSpellingMistakes(path, markdownFile, SPELLING_MISTAKES)
177170
// Turned this off for testing as there are lots of Github (instead of GitHub) and Metamask (instead of MetaMask).
178171
// checkMarkdownSpellingMistakes(path, markdownFile, CASE_SENSITVE_SPELLING_MISTAKES, true)

0 commit comments

Comments
 (0)