修改完成
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$root = Split-Path -Parent $PSScriptRoot
|
||||
$page = Get-Content -LiteralPath (Join-Path $root 'pages/genealogy/g03-create-genealogy.vue') -Raw -Encoding UTF8
|
||||
foreach ($token in @('sexOptions', 'mode="selector"', 'mode="date"', 'ancestorForm.sex', 'auto-height')) {
|
||||
if (-not $page.Contains($token)) { throw "G03 ancestor semantic field missing: $token" }
|
||||
}
|
||||
Write-Output 'G03-ANCESTOR-SEMANTIC-FIELDS-CONTRACT PASS'
|
||||
Reference in New Issue
Block a user