test(launcher): isolate bundled plugin env in fixtures · openclaw/openclaw@dc16aed
vincentkoc
·
2026-06-19
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -129,6 +129,9 @@ function isProcessAlive(pid: number | undefined): boolean {
|
129 | 129 | |
130 | 130 | function launcherEnv(extra: NodeJS.ProcessEnv = {}): NodeJS.ProcessEnv { |
131 | 131 | const env = { ...process.env, ...extra }; |
| 132 | +delete env.OPENCLAW_BUNDLED_PLUGINS_DIR; |
| 133 | +delete env.OPENCLAW_DISABLE_BUNDLED_PLUGINS; |
| 134 | +delete env.OPENCLAW_TEST_TRUST_BUNDLED_PLUGINS_DIR; |
132 | 135 | delete env.NODE_COMPILE_CACHE; |
133 | 136 | delete env.NODE_DISABLE_COMPILE_CACHE; |
134 | 137 | for (const [key, value] of Object.entries(extra)) { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。