diff --git a/scripts/openclaw-cross-os-release-checks.ts b/scripts/openclaw-cross-os-release-checks.ts index 0ee4531c6d7..8af3508920c 100644 --- a/scripts/openclaw-cross-os-release-checks.ts +++ b/scripts/openclaw-cross-os-release-checks.ts @@ -1343,7 +1343,7 @@ export function isRecoverableWindowsPackagedUpgradeSwapCleanupFailure( /\bglobal install swap\b/iu.test(output) && /\bEPERM\b/iu.test(output) && /\bunlink\b/iu.test(output) && - /[\\\/]\.openclaw-\d+-\d+[\\\/]/u.test(output) && + /[/\\]\.openclaw-\d+-\d+[/\\]/u.test(output) && /\.node['"]?/iu.test(output) ); }