fix: settlePlanchecker中pipeline使用错误修正

This commit is contained in:
lxy 2025-11-21 13:23:03 +08:00
parent f1f3bcbb6d
commit 4e15d169b8
3 changed files with 6 additions and 12 deletions

View File

@ -58,12 +58,10 @@ const checkers = [
});
};
if (data instanceof Array) {
for (const d of data) {
checkfn(d);
}
return pipeline(...data.map(checkfn));
}
else {
checkfn(data);
return checkfn(data);
}
}
},

View File

@ -60,12 +60,10 @@ const checkers = [
});
};
if (data instanceof Array) {
for (const d of data) {
checkfn(d);
}
return (0, executor_1.pipeline)(...data.map(checkfn));
}
else {
checkfn(data);
return checkfn(data);
}
}
},

View File

@ -67,11 +67,9 @@ const checkers: Checker<EntityDict, 'settlePlan', RuntimeCxt>[] = [
)
}
if (data instanceof Array) {
for (const d of data) {
checkfn(d);
}
return pipeline(...data.map(checkfn))
} else {
checkfn(data);
return checkfn(data);
}
}
},