diff --git a/scripts/e2e/parallels/npm-update-scripts.ts b/scripts/e2e/parallels/npm-update-scripts.ts index 4748be3d604..fd062257b2b 100644 --- a/scripts/e2e/parallels/npm-update-scripts.ts +++ b/scripts/e2e/parallels/npm-update-scripts.ts @@ -114,7 +114,7 @@ $updateExit = $LASTEXITCODE $updateOutput if ($updateExit -ne 0) { $updateText = $updateOutput | Out-String - $stalePostSwapImport = $updateText -match 'ERR_MODULE_NOT_FOUND' -and $updateText -match 'node_modules\\openclaw\\dist\\[^\\]+-[A-Za-z0-9_-]+\.js' + $stalePostSwapImport = $updateText -match 'ERR_MODULE_NOT_FOUND' -and $updateText -match 'node_modules\\openclaw\\dist\\[^\\]+-[A-Za-z0-9_-]+\\.js' if (-not $stalePostSwapImport) { throw "openclaw update failed with exit code $updateExit" } Write-Host "openclaw update returned a stale post-swap module import; continuing to post-update health checks" }