Pin swarm provider to CultLib dev runtime
This commit is contained in:
parent
5233283f3a
commit
b2abf856bc
2 changed files with 2 additions and 2 deletions
|
|
@ -980,7 +980,7 @@ function timestampForFile(date) {
|
|||
function loadCultPackages() {
|
||||
const cultLibRoot = process.env.VOIDBOT_CULTLIB_ROOT
|
||||
? resolve(process.env.VOIDBOT_CULTLIB_ROOT)
|
||||
: resolve(repoRoot, "..", "CultLib-codex-cultmesh-reliability");
|
||||
: resolve(repoRoot, "..", "CultLib-dev-runtime");
|
||||
const candidates = [
|
||||
resolve(cultLibRoot, "packages", "cultmesh-ts", "package.json"),
|
||||
resolve(repoRoot, "..", "CultMeshTS", "package.json"),
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ function defineDocuments(defineDocumentType) {
|
|||
function loadCultRuntime() {
|
||||
const cultLibRoot = process.env.VOIDBOT_CULTLIB_ROOT
|
||||
? path.resolve(process.env.VOIDBOT_CULTLIB_ROOT)
|
||||
: path.resolve(repoRoot, "..", "CultLib-codex-cultmesh-reliability");
|
||||
: path.resolve(repoRoot, "..", "CultLib-dev-runtime");
|
||||
const packageJson = path.resolve(cultLibRoot, "packages", "cultmesh-ts", "package.json");
|
||||
const requireCult = createRequire(packageJson);
|
||||
const { CultMesh } = requireCult("./dist/index.js");
|
||||
|
|
|
|||
Loading…
Reference in a new issue