ci: fix stdb path normalization regex
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-05-06 15:55:03 +08:00
parent b25b14a329
commit 7364d0f2d3

View File

@@ -83,7 +83,7 @@ pipeline {
if ([string]::IsNullOrWhiteSpace($Path)) {
return $Path
}
$normalized = $Path -replace '\\', '/'
$normalized = $Path.Replace('\', '/')
if ($normalized -match '^([A-Za-z]):/(.*)$') {
return '/' + $matches[1].ToLower() + '/' + $matches[2]
}