test: 覆盖NapCat审计artifactRoot解析
This commit is contained in:
parent
b767732fd3
commit
6fc5e65986
@ -112,6 +112,12 @@ export async function runSelfTest(): Promise<void> {
|
|||||||
if (!napcatCli.execute || !napcatCli.useCodex) {
|
if (!napcatCli.execute || !napcatCli.useCodex) {
|
||||||
throw new Error("NapCat upstream audit CLI parser self-check failed");
|
throw new Error("NapCat upstream audit CLI parser self-check failed");
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
napcatCli.artifactRoot !==
|
||||||
|
"/vol1/docker/kt-codex/artifacts/napcat-upstream-sync"
|
||||||
|
) {
|
||||||
|
throw new Error("NapCat upstream audit artifactRoot CLI parser self-check failed");
|
||||||
|
}
|
||||||
const napcatCandidateCli = parseNapcatSyncCandidateReviewCliArgs([
|
const napcatCandidateCli = parseNapcatSyncCandidateReviewCliArgs([
|
||||||
"node",
|
"node",
|
||||||
"server",
|
"server",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user