From 2a44287080ed5e77a5e80b85cb7c38b69169fa5d Mon Sep 17 00:00:00 2001 From: lucas Date: Mon, 6 Jan 2025 19:34:10 +0000 Subject: [PATCH] sync path --- test/scripts/check-siblingsHelper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/scripts/check-siblingsHelper.ts b/test/scripts/check-siblingsHelper.ts index 6416cb05..93106515 100644 --- a/test/scripts/check-siblingsHelper.ts +++ b/test/scripts/check-siblingsHelper.ts @@ -121,6 +121,8 @@ export function GetPackageManagerVersion(pkgMnger: string, testPath: string): st stdio: ['pipe'], // Ensure output is in readable string format // Clear env to avoid contamination with root folder. env: { + ...process.env, + PATH: process.env.PATH, INIT_CWD: testPath } });