[doc] Fix rule doc generator under Windows

This commit is contained in:
Andreas Dangel 2024-04-11 15:59:29 +02:00
parent 6d9c49858f
commit 6ad8577880
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -656,7 +656,7 @@ public class RuleDocGenerator {
Files.walkFileTree(root, new SimpleFileVisitor<Path>() {
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) {
String path = file.toString();
String path = RuleSetUtils.normalizeForwardSlashes(file.toString());
if (path.contains("src")) {
String foundRuleClass = null;