mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:31:06 +00:00
fix(test): reuse heavy-check lock in boundary prep
This commit is contained in:
@@ -21,7 +21,9 @@ if (tsBuildInfoFile) {
|
||||
}
|
||||
const sparseGuardError = getSparseTsgoGuardError(finalArgs, { cwd: process.cwd() });
|
||||
const releaseLock =
|
||||
sparseGuardError || !shouldAcquireLocalHeavyCheckLockForTsgo(finalArgs, env)
|
||||
sparseGuardError ||
|
||||
env.OPENCLAW_TSGO_HEAVY_CHECK_LOCK_HELD === "1" ||
|
||||
!shouldAcquireLocalHeavyCheckLockForTsgo(finalArgs, env)
|
||||
? () => {}
|
||||
: acquireLocalHeavyCheckLockSync({
|
||||
cwd: process.cwd(),
|
||||
|
||||
Reference in New Issue
Block a user