fix(LocalRunnerClient): repair loading logic of action subdirectories

This commit is contained in:
2026-01-01 20:28:19 +08:00
parent 74f2c6c950
commit 0ecaec0545

View File

@@ -374,7 +374,7 @@ public class LocalRunnerClient extends RunnerClient {
if (!watchAll) { if (!watchAll) {
return; return;
} }
Stream<Path> walk = Files.walk(root).filter(Files::isDirectory); Stream<Path> walk = Files.list(root).filter(Files::isDirectory);
for (Path dir : walk.toList()) { for (Path dir : walk.toList()) {
WatchKey key = dir.register(watchService, kindsArray); WatchKey key = dir.register(watchService, kindsArray);
watchKeys.put(key, dir); watchKeys.put(key, dir);