Skip to content

Commit

Permalink
🐛 Only check links in markdown files. Resolves #301
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Dec 27, 2023
1 parent ade393a commit 3eb16d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/dev/ebullient/convert/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ private static void testMarkdownLinks(Path filePath, Tui tui, List<String> error
e.printStackTrace();
errors.add(String.format("Unable to parse files in directory %s: %s", filePath, e));
}
} else {
} else if (filePath.endsWith(".md")) {
try {
Files.readAllLines(filePath).forEach(l -> {
TestUtils.checkMarkdownLink(filePath.toString(), filePath, l, errors);
Expand Down

0 comments on commit 3eb16d2

Please sign in to comment.