Fix for help building on Windows

This commit is contained in:
dragonmacher 2024-10-09 16:06:10 -04:00
parent 9108198ba7
commit 29fe2d8b17

View File

@ -178,6 +178,11 @@ public class LinkDatabase {
}
public String getIDForLink(String target) {
if (target.startsWith(JavaHelpValidator.EXTERNAL_PREFIX)) {
return null; // the validator handles this later
}
Path path = Paths.get(target);
Path file = Paths.get(target.split("#")[0]);