Support global CLI service workflow

This commit is contained in:
gitea committed 2026-06-09 12:09:03 +08:00
1 parent aa6f6321e5
commit 0dce586266
8 files changed
+410 -102

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import { loadCorpConfigs } from "./core/config/loader.js";
import { getEnterprisesDirCandidates, loadCorpConfigs } from "./core/config/loader.js";
import { createSealClient } from "./core/http/factory.js";
import { resolveLiveSealEnterpriseConfig } from "./domains/seal/source.js";
import { getApprovalContext } from "./domains/seal/api.js";
@@ -14,7 +14,7 @@ async function main() {
throw new Error(
corpId
? `No enterprise config found for ${corpId}`
: "No enterprise config found. Add enterprises/local.json first."
: `No enterprise config found. Add a config file under one of: ${getEnterprisesDirCandidates().join(", ")}`
);
}