From 3eb16d25d7d11778016d11443117b8715ba76a0c Mon Sep 17 00:00:00 2001 From: Erin Schnabel Date: Wed, 27 Dec 2023 15:09:15 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Only=20check=20links=20in=20mark?= =?UTF-8?q?down=20files.=20Resolves=20#301?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/dev/ebullient/convert/TestUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/dev/ebullient/convert/TestUtils.java b/src/test/java/dev/ebullient/convert/TestUtils.java index d794ac2e7..4d65ba52d 100644 --- a/src/test/java/dev/ebullient/convert/TestUtils.java +++ b/src/test/java/dev/ebullient/convert/TestUtils.java @@ -286,7 +286,7 @@ private static void testMarkdownLinks(Path filePath, Tui tui, List 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);