chore: rename project to clawdbot
This commit is contained in:
@@ -27,13 +27,13 @@ function killGatewayListeners(port: number): PortProcess[] {
|
||||
|
||||
function runTests() {
|
||||
const isolatedLock =
|
||||
process.env.CLAWDIS_GATEWAY_LOCK ??
|
||||
path.join(os.tmpdir(), `clawdis-gateway.lock.test.${Date.now()}`);
|
||||
process.env.CLAWDBOT_GATEWAY_LOCK ??
|
||||
path.join(os.tmpdir(), `clawdbot-gateway.lock.test.${Date.now()}`);
|
||||
const result = spawnSync("pnpm", ["vitest", "run"], {
|
||||
stdio: "inherit",
|
||||
env: {
|
||||
...process.env,
|
||||
CLAWDIS_GATEWAY_LOCK: isolatedLock,
|
||||
CLAWDBOT_GATEWAY_LOCK: isolatedLock,
|
||||
},
|
||||
});
|
||||
if (result.error) {
|
||||
@@ -45,7 +45,7 @@ function runTests() {
|
||||
|
||||
function main() {
|
||||
const port = Number.parseInt(
|
||||
process.env.CLAWDIS_GATEWAY_PORT ?? `${DEFAULT_PORT}`,
|
||||
process.env.CLAWDBOT_GATEWAY_PORT ?? `${DEFAULT_PORT}`,
|
||||
10,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user