mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 16:53:04 +08:00
fix(LocalRunnerClient): correct abnormal deleting condition in CommonMcp
This commit is contained in:
@@ -1352,7 +1352,7 @@ public class LocalRunnerClient extends RunnerClient {
|
|||||||
protected LocalWatchServiceBuild.EventHandler buildDelete() {
|
protected LocalWatchServiceBuild.EventHandler buildDelete() {
|
||||||
return (thisDir, context) -> {
|
return (thisDir, context) -> {
|
||||||
val file = context.toFile();
|
val file = context.toFile();
|
||||||
if (file.isFile() && file.getName().endsWith(".json")) {
|
if (!file.isFile() || !file.getName().endsWith(".json")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user