mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
fix(LocalRunnerClient): repair loading logic of action subdirectories
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user