From e2ef5e2329301fd5a439e02b5704eb2044c28f78 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 26 Apr 2026 09:09:02 +0100 Subject: [PATCH] test: keep path alias temp dirs out of repo --- src/infra/path-alias-guards.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/infra/path-alias-guards.test.ts b/src/infra/path-alias-guards.test.ts index 3019b97c130..b8e5e9106f0 100644 --- a/src/infra/path-alias-guards.test.ts +++ b/src/infra/path-alias-guards.test.ts @@ -5,10 +5,7 @@ import { withTempDir } from "../test-helpers/temp-dir.js"; import { assertNoPathAliasEscape } from "./path-alias-guards.js"; async function withAliasRoot(cb: (root: string) => Promise): Promise { - await withTempDir( - { prefix: "openclaw-path-alias-", parentDir: process.cwd(), subdir: "root" }, - cb, - ); + await withTempDir({ prefix: "openclaw-path-alias-", subdir: "root" }, cb); } describe("assertNoPathAliasEscape", () => {