修改完成
This commit is contained in:
@@ -24,7 +24,7 @@ foreach ($relativePath in $ownedFiles) {
|
||||
|
||||
foreach ($returnPage in @('pages/auth/a04-register.vue', 'pages/auth/a05-reset-password.vue', 'pages/auth/a06-auth-status.vue')) {
|
||||
$content = Get-Content -LiteralPath (Join-Path $root $returnPage) -Raw -Encoding utf8
|
||||
if ($content -notmatch [regex]::Escape("url: '/pages/auth/a01-entry'")) {
|
||||
if ($content -notmatch 'url:\s*["'']/pages/auth/a01-entry["'']') {
|
||||
throw "$returnPage must return to A01."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user