test: narrow profile state directory type · openclaw/openclaw@eac1d33
shakkernerd
·
2026-06-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2879,9 +2879,7 @@ async function runGatewayModelSuite(params: GatewayModelSuiteParams) {
|
2879 | 2879 | lastGood: hostStore.lastGood ? { ...hostStore.lastGood } : undefined, |
2880 | 2880 | usageStats: hostStore.usageStats ? { ...hostStore.usageStats } : undefined, |
2881 | 2881 | }); |
2882 | | -const tempStateDir: string | undefined = await fs.mkdtemp( |
2883 | | -path.join(os.tmpdir(), "openclaw-live-state-"), |
2884 | | -); |
| 2882 | +const tempStateDir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-live-state-")); |
2885 | 2883 | setTestEnvValue("OPENCLAW_STATE_DIR", tempStateDir); |
2886 | 2884 | const tempAgentDir: string | undefined = path.join( |
2887 | 2885 | tempStateDir, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。