完成50%
This commit is contained in:
@@ -2,9 +2,10 @@ $ErrorActionPreference = 'Stop'
|
||||
$root = Split-Path -Parent $PSScriptRoot
|
||||
$mine = Get-Content -LiteralPath (Join-Path $root 'pages/genealogy/g09-my-applications.vue') -Raw -Encoding UTF8
|
||||
$review = Get-Content -LiteralPath (Join-Path $root 'pages/genealogy/g10-application-review.vue') -Raw -Encoding UTF8
|
||||
foreach ($token in @('query.status', 'WITHDRAWN:', 'previous=withdrawn')) {
|
||||
foreach ($token in @('query.status', 'LOCAL_WITHDRAWN:', 'target.status = "LOCAL_WITHDRAWN"')) {
|
||||
if (-not $mine.Contains($token)) { throw "G09 business state missing: $token" }
|
||||
}
|
||||
if ($mine.Contains('previous=withdrawn') -or $mine.Contains('previous:')) { throw 'G09 must not export application history as a route parameter' }
|
||||
foreach ($token in @(
|
||||
'rejectionReason',
|
||||
'rejectionError',
|
||||
|
||||
Reference in New Issue
Block a user