forked from kimhyungsik/ax_hub_mcp_tool
Fix: McpToolNameValidator to skip dap-was-lib correctly
This commit is contained in:
@@ -39,7 +39,7 @@ public final class McpToolNameValidator {
|
||||
try (var modules = Files.list(projectRoot)) {
|
||||
modules.filter(Files::isDirectory)
|
||||
.filter(path -> path.getFileName().toString().startsWith("dap-was-"))
|
||||
.filter(path -> !path.getFileName().toString().equals("dap-was-core"))
|
||||
.filter(path -> !path.getFileName().toString().equals("dap-was-lib"))
|
||||
.sorted()
|
||||
.forEach(module -> collectDeclarations(module, declarationsByName));
|
||||
} catch (IOException exception) {
|
||||
|
||||
Reference in New Issue
Block a user