fix(ci): escape stale update import regex · openclaw/openclaw@52bf20b
steipete
·
2026-05-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -114,7 +114,7 @@ $updateExit = $LASTEXITCODE
|
114 | 114 | $updateOutput |
115 | 115 | if ($updateExit -ne 0) { |
116 | 116 | $updateText = $updateOutput | Out-String |
117 | | - $stalePostSwapImport = $updateText -match 'ERR_MODULE_NOT_FOUND' -and $updateText -match 'node_modules\\openclaw\\dist\\[^\\]+-[A-Za-z0-9_-]+\.js' |
| 117 | + $stalePostSwapImport = $updateText -match 'ERR_MODULE_NOT_FOUND' -and $updateText -match 'node_modules\\openclaw\\dist\\[^\\]+-[A-Za-z0-9_-]+\\.js' |
118 | 118 | if (-not $stalePostSwapImport) { throw "openclaw update failed with exit code $updateExit" } |
119 | 119 | Write-Host "openclaw update returned a stale post-swap module import; continuing to post-update health checks" |
120 | 120 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。