forked from phoedos/pmd
[doc] Fix rule doc generator under Windows
This commit is contained in:
parent
6d9c49858f
commit
6ad8577880
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user